From 43996c3b518603f3748030d1cdf0f4121f663420 Mon Sep 17 00:00:00 2001 From: Datong Sun Date: Sun, 19 Sep 2021 01:54:41 -0700 Subject: [PATCH] ci(release) fix artifact name --- .github/workflows/release.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d8c0ca3..b4e2bcd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,8 +19,6 @@ jobs: - armv7-unknown-linux-gnueabihf steps: - - name: Set RELEASE_VERSION env - run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - uses: actions/checkout@v2 - uses: actions-rs/toolchain@v1 with: @@ -37,7 +35,7 @@ jobs: cd target/${{ matrix.target }}/release mv client phantun_client 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 uses: softprops/action-gh-release@v1