Update test.yml

This commit is contained in:
quydang 2023-10-04 17:38:34 +07:00 committed by GitHub
parent 8b0d440e7d
commit 03b69dd87e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,8 +50,8 @@ jobs:
mkdir x-ui/bin mkdir x-ui/bin
cd x-ui/bin cd x-ui/bin
- name: Download dependencies and package - name: Download dependencies and package
run: | run: |
wget https://github.com/XTLS/Xray-core/releases/download/v1.8.4/Xray-linux-arm32-v7a.zip wget https://github.com/XTLS/Xray-core/releases/download/v1.8.4/Xray-linux-arm32-v7a.zip
rm -rf xray rm -rf xray
unzip -o Xray-linux-arm32-v7a.zip unzip -o Xray-linux-arm32-v7a.zip
@ -64,19 +64,19 @@ jobs:
wget https://github.com/MasterKia/iran-hosted-domains/releases/latest/download/iran.dat wget https://github.com/MasterKia/iran-hosted-domains/releases/latest/download/iran.dat
mv xray xray-linux-armv7 mv xray xray-linux-armv7
- name: Package - name: Package and Upload
run: tar -zcvf x-ui-linux-${{ matrix.platform }}.tar.gz x-ui run: |
cd ../..
tar -zcvf x-ui-linux-armv7.tar.gz x-ui
- name: Upload
uses: svenstaro/upload-release-action@2.7.0 uses: svenstaro/upload-release-action@2.7.0
with: with:
repo_token: ${{ secrets.GITHUB_TOKEN }} repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }} tag: ${{ github.ref }}
file: x-ui-linux-${{ matrix.platform }}.tar.gz file: x-ui-linux-armv7.tar.gz
asset_name: x-ui-linux-${{ matrix.platform }}.tar.gz asset_name: x-ui-linux-armv7.tar.gz
prerelease: true prerelease: true
overwrite: true overwrite: true