From 405430110137160c070ce456b16b2ba7d04dc389 Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Tue, 13 Oct 2020 09:48:05 +0800 Subject: [PATCH] tweak CI --- .github/workflows/Release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 89544b2a..27480b54 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -26,7 +26,7 @@ jobs: release_name: ${{ github.ref }} - name: Get version id: get_version - run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3) + run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} - name: Upload release asset id: upload_release_asset uses: actions/upload-release-asset@v1