use better artifect name

This commit is contained in:
sijie.sun
2024-08-03 12:41:59 +08:00
committed by Sijie.Sun
parent 4a0adaa3f8
commit 02b5b5f3c7
3 changed files with 32 additions and 14 deletions

View File

@@ -36,6 +36,7 @@ jobs:
include:
- TARGET: android
OS: ubuntu-latest
ARTIFACT_NAME: android
runs-on: ${{ matrix.OS }}
env:
NAME: easytier
@@ -130,13 +131,13 @@ jobs:
TAG=$GITHUB_SHA
fi
tar -cvf ./artifacts/$NAME-$TARGET-$TAG.tar -C ./artifacts/objects/ .
mv ./artifacts/objects/* ./artifacts
rm -rf ./artifacts/objects/
- name: Archive artifact
uses: actions/upload-artifact@v4
with:
name: easytier-gui-${{ matrix.TARGET }}
name: easytier-gui-${{ matrix.ARTIFACT_NAME }}
path: |
./artifacts/*