We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 285aa5b commit 9292fd9Copy full SHA for 9292fd9
.github/workflows/release.yml
@@ -62,12 +62,16 @@ jobs:
62
done
63
cd ..
64
65
+ - name: Extract tag name
66
+ id: get_version
67
+ run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
68
+
69
- name: Release
70
uses: softprops/action-gh-release@v1
71
if: startsWith(github.ref, 'refs/tags/')
72
with:
73
fail_on_unmatched_files: true
74
files: |
75
release_assets/*.zip
- name: Release ${{ replace(github.ref, 'refs/tags/', '') }}
76
+ name: Release ${{ steps.get_version.outputs.VERSION }}
77
tag_name: ${{ github.ref }}
0 commit comments