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 7910b7c commit 0c769d8Copy full SHA for 0c769d8
.github/workflows/node.js.yml
@@ -36,10 +36,22 @@ jobs:
36
with:
37
token: ${{ secrets.NPM_TOKEN }}
38
provenance: true
39
+ - name: Create tag
40
+ if: steps.publish.outputs.type
41
+ uses: actions/github-script@v6
42
+ with:
43
+ script: |
44
+ github.rest.git.createRef({
45
+ owner: context.repo.owner,
46
+ repo: context.repo.repo,
47
+ ref: 'refs/tags/v${{ steps.publish.outputs.version }}',
48
+ sha: context.sha
49
+ })
50
- name: Create a Github Release when a version was published
51
if: steps.publish.outputs.type
52
uses: ncipollo/release-action@v1
53
54
+ tag: v${{ steps.publish.outputs.version }}
55
name: v${{ steps.publish.outputs.version }}
56
makeLatest: true
57
0 commit comments