We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea40fc5 commit e23ae7fCopy full SHA for e23ae7f
1 file changed
.github/workflows/release.yml
@@ -2,7 +2,7 @@ name: Release
2
on:
3
push:
4
branches:
5
- - master
+ - main
6
jobs:
7
build:
8
name: Build and upload
@@ -48,12 +48,20 @@ jobs:
48
path: lib
49
- name: Display dirs
50
run: ls -R
51
+ - uses: Klemensas/action-autotag@1.2.3
52
+ id: update_tag
53
+ with:
54
+ GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
55
+ tag_prefix: "v"
56
- name: Release
57
+ if: steps.update_tag.outputs.tagname
58
id: release-plugin
59
uses: JS-DevTools/npm-publish@v2.2.0
60
with:
61
token: ${{ secrets.NPM_TOKEN }}
62
+ strategy: upgrade
63
- name: github-release
64
65
id: github-release
66
env:
67
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments