Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2024-01-10 21:35:19 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2024-01-10 21:43:30 +0300
commitf035837aed3d3decc3908237f887c447684825e4 (patch)
treea86bc73fca73d712fabd8a75807711bfa5443667
parentb056c2dda0b53e54d1001460c00608c49c5a4fc1 (diff)
Centralized Xray URLs
-rw-r--r--.github/workflows/release.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 87be5c29..857913d0 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -51,16 +51,17 @@ jobs:
cd x-ui/bin
# Download dependencies
+ Xray_URL="https://github.com/XTLS/Xray-core/releases/download/v1.8.7/"
if [ "${{ matrix.platform }}" == "amd64" ]; then
- wget https://github.com/XTLS/Xray-core/releases/download/v1.8.7/Xray-linux-64.zip
+ wget ${Xray_URL}Xray-linux-64.zip
unzip Xray-linux-64.zip
rm -f Xray-linux-64.zip
elif [ "${{ matrix.platform }}" == "arm64" ]; then
- wget https://github.com/XTLS/Xray-core/releases/download/v1.8.7/Xray-linux-arm64-v8a.zip
+ wget ${Xray_URL}Xray-linux-arm64-v8a.zip
unzip Xray-linux-arm64-v8a.zip
rm -f Xray-linux-arm64-v8a.zip
else
- wget https://github.com/XTLS/Xray-core/releases/download/v1.8.7/Xray-linux-arm32-v7a.zip
+ wget ${Xray_URL}Xray-linux-arm32-v7a.zip
unzip Xray-linux-arm32-v7a.zip
rm -f Xray-linux-arm32-v7a.zip
fi