mirror of
https://github.com/dndx/phantun.git
synced 2025-01-18 22:09:30 +08:00
ci(release) fix artifact name
This commit is contained in:
parent
96c967a498
commit
43996c3b51
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user