diff --git a/.github/workflows/release_main.yml b/.github/workflows/release_main.yml index 4c658a37cb..d1eaf359e9 100644 --- a/.github/workflows/release_main.yml +++ b/.github/workflows/release_main.yml @@ -338,6 +338,8 @@ jobs: package_arch='armhfp' elif [ "$GOARCH" == 'arm64' ];then package_arch='aarch64' + elif [ "$GOARCH" == 'loong64' ];then + package_arch='loongson64' else package_arch="$GOARCH" fi @@ -470,7 +472,7 @@ jobs: run: | mkdir xray_unzipped mkdir v2ray_unzipped - for arch in 64 32 arm64-v8a arm32-v7a mips32 mips32le mips64 mips64le riscv64; do + for arch in 64 32 arm64-v8a arm32-v7a mips32 mips32le mips64 mips64le riscv64 loong64; do wget -q https://github.com/v2fly/v2ray-core/releases/download/$V2RAY_VERSION/v2ray-linux-$arch.zip unzip -q v2ray-linux-$arch.zip -d v2ray_unzipped/v2ray-linux-$arch wget -q https://github.com/XTLS/xray-core/releases/download/$XRAY_VERSION/Xray-linux-$arch.zip @@ -480,7 +482,7 @@ jobs: run: | mkdir v2ray_packages package_version="$(echo "$V2RAY_VERSION" | sed 's/v//g')" # Remove the leading 'v' in version number - for arch in amd64 i386 arm64 armhf mips mips32le mips64 mips64le riscv64; do + for arch in amd64 i386 arm64 armhf mips mips32le mips64 mips64le riscv64 loong64; do case $arch in amd64) source_dir="v2ray_unzipped/v2ray-linux-64" @@ -509,6 +511,9 @@ jobs: riscv64) source_dir="v2ray_unzipped/v2ray-linux-riscv64" ;; + loong64) + source_dir="v2ray_unzipped/v2ray-linux-loong64" + ;; esac echo 'systemctl daemon-reload if [ "$(systemctl is-active v2ray)" = "active" ]; then @@ -536,7 +541,7 @@ jobs: run: | mkdir xray_packages package_version="$(echo "$XRAY_VERSION" | sed 's/v//g')" # Remove the leading 'v' in version number - for arch in amd64 i386 arm64 armhf mips mips32le mips64 mips64le riscv64; do + for arch in amd64 i386 arm64 armhf mips mips32le mips64 mips64le riscv64 loong64; do case $arch in amd64) source_dir="xray_unzipped/xray-linux-64" @@ -565,6 +570,9 @@ jobs: riscv64) source_dir="xray_unzipped/xray-linux-riscv64" ;; + loong64) + source_dir="xray_unzipped/xray-linux-loong64" + ;; esac fpm -s dir -t deb -a $arch --version $package_version \ --url 'https://xtls.github.io/' --description 'Xray, Penetrates Everything. Also the best v2ray-core, with XTLS support. Fully compatible configuration' \