We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a53ad2c commit b3b7de5Copy full SHA for b3b7de5
2 files changed
.github/workflows/create-release.yml
.github/workflows/create-tag.yml
@@ -12,9 +12,19 @@ jobs:
12
- uses: actions/checkout@v6
13
14
# https://github.com/butlerlogic/action-autotag
15
- - uses: butlerlogic/action-autotag@1.1.2
+ - id: autotag
16
+ uses: butlerlogic/action-autotag@1.1.2
17
env:
18
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
19
with:
20
root: clib.json
21
tag_prefix: "v"
22
+
23
+ # https://github.com/softprops/action-gh-release
24
+ - name: Release
25
+ if: steps.autotag.outputs.tagcreated == 'yes'
26
+ uses: softprops/action-gh-release@v2
27
+ with:
28
+ tag_name: "${{ steps.autotag.outputs.tagname }}"
29
+ generate_release_notes: true
30
+ token: "${{ secrets.GITHUB_TOKEN }}"
0 commit comments