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 -