From 03b69dd87e5e2cb07cfd9d9a03d8ce59b1785ddd Mon Sep 17 00:00:00 2001 From: quydang <81231812+quydang04@users.noreply.github.com> Date: Wed, 4 Oct 2023 17:38:34 +0700 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f9616f44..25f4acbe 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -50,8 +50,8 @@ jobs: mkdir x-ui/bin cd x-ui/bin - - name: Download dependencies and package - run: | + - name: Download dependencies and package + run: | wget https://github.com/XTLS/Xray-core/releases/download/v1.8.4/Xray-linux-arm32-v7a.zip rm -rf xray 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 mv xray xray-linux-armv7 - - - name: Package - run: tar -zcvf x-ui-linux-${{ matrix.platform }}.tar.gz x-ui + - name: Package and Upload + run: | + cd ../.. + + tar -zcvf x-ui-linux-armv7.tar.gz x-ui - - name: Upload uses: svenstaro/upload-release-action@2.7.0 with: repo_token: ${{ secrets.GITHUB_TOKEN }} tag: ${{ github.ref }} - file: x-ui-linux-${{ matrix.platform }}.tar.gz - asset_name: x-ui-linux-${{ matrix.platform }}.tar.gz + file: x-ui-linux-armv7.tar.gz + asset_name: x-ui-linux-armv7.tar.gz prerelease: true overwrite: true -