ci(release) fix artifact name

This commit is contained in:
Datong Sun 2021-09-19 01:54:41 -07:00
parent 96c967a498
commit 43996c3b51

View File

@ -19,8 +19,6 @@ jobs:
- armv7-unknown-linux-gnueabihf - armv7-unknown-linux-gnueabihf
steps: steps:
- name: Set RELEASE_VERSION env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
@ -37,7 +35,7 @@ jobs:
cd target/${{ matrix.target }}/release cd target/${{ matrix.target }}/release
mv client phantun_client mv client phantun_client
mv server phantun_server mv server phantun_server
zip phantun_$RELEASE_VERSION_${{ matrix.target }}.zip phantun_client phantun_server zip phantun_${{ matrix.target }}.zip phantun_client phantun_server
- name: Upload Github Assets - name: Upload Github Assets
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1