We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7037b7b + 89e5916 commit cbb4228Copy full SHA for cbb4228
1 file changed
.github/workflows/tagRelease.yml
@@ -12,7 +12,7 @@ on:
12
description: 'Tag to be created along with release'
13
# Input has to be provided for the workflow to run
14
required: true
15
- git_ref:
+ git_ref:
16
description: 'Git reference to create tag from, can be a commit hash or branch'
17
18
@@ -22,7 +22,12 @@ jobs:
22
runs-on: ubuntu-latest
23
name: Create Release
24
steps:
25
- - uses: softprops/action-gh-release@v1 #This action will create the release with the params specified.
26
- with:
27
- tag_name: ${{ inputs.tag }}
28
- target_commitish: ${{ inputs.git_ref }}
+ - name: Create Release
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ run: |
29
+ gh release create ${{ inputs.tag }} \
30
+ --repo ${{ github.repository }} \
31
+ --target ${{ inputs.git_ref }} \
32
+ --title "${{ inputs.tag }}" \
33
+ --generate-notes
0 commit comments