diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2026-04-20 21:01:52 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2026-04-20 21:02:43 +0300 |
| commit | 394fafd29b8b1adbeda76b99226c8d106fc56aa2 (patch) | |
| tree | c0bcb9b47d4cd2fa4f35e10366d53a89e8147d92 /.github/workflows/release.yml | |
| parent | 9f0055d1938a41794cf93cd633b14eb9d1484284 (diff) | |
Update Xray-core to v26.4.17
Diffstat (limited to '.github/workflows/release.yml')
| -rw-r--r-- | .github/workflows/release.yml | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ed9417c9..7ee8ea65 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,20 +4,20 @@ on: workflow_dispatch: push: branches: - - '**' + - "**" tags: - "v*.*.*" paths: - - '**.js' - - '**.css' - - '**.html' - - '**.sh' - - '**.go' - - 'go.mod' - - 'go.sum' - - 'x-ui.service.debian' - - 'x-ui.service.arch' - - 'x-ui.service.rhel' + - "**.js" + - "**.css" + - "**.html" + - "**.sh" + - "**.go" + - "go.mod" + - "go.sum" + - "x-ui.service.debian" + - "x-ui.service.arch" + - "x-ui.service.rhel" pull_request: jobs: @@ -114,7 +114,7 @@ jobs: go build -ldflags "-w -s -linkmode external -extldflags '-static'" -o xui-release -v main.go file xui-release ldd xui-release || echo "Static binary confirmed" - + mkdir x-ui cp xui-release x-ui/ cp x-ui.service.debian x-ui/ @@ -124,9 +124,9 @@ jobs: mv x-ui/xui-release x-ui/x-ui mkdir x-ui/bin cd x-ui/bin - + # Download dependencies - Xray_URL="https://github.com/XTLS/Xray-core/releases/download/v26.2.6/" + Xray_URL="https://github.com/XTLS/Xray-core/releases/download/v26.4.17/" if [ "${{ matrix.platform }}" == "amd64" ]; then wget -q ${Xray_URL}Xray-linux-64.zip unzip Xray-linux-64.zip @@ -165,7 +165,7 @@ jobs: wget -q -O geosite_RU.dat https://github.com/runetfreedom/russia-v2ray-rules-dat/releases/latest/download/geosite.dat mv xray xray-linux-${{ matrix.platform }} cd ../.. - + - name: Package run: tar -zcvf x-ui-linux-${{ matrix.platform }}.tar.gz x-ui @@ -242,9 +242,9 @@ jobs: Copy-Item xui-release.exe x-ui\x-ui.exe mkdir x-ui\bin cd x-ui\bin - + # Download Xray for Windows - $Xray_URL = "https://github.com/XTLS/Xray-core/releases/download/v26.2.6/" + $Xray_URL = "https://github.com/XTLS/Xray-core/releases/download/v26.4.17/" Invoke-WebRequest -Uri "${Xray_URL}Xray-windows-64.zip" -OutFile "Xray-windows-64.zip" Expand-Archive -Path "Xray-windows-64.zip" -DestinationPath . Remove-Item "Xray-windows-64.zip" |
