Skip to content

Commit 6af6f60

Browse files
committed
fix(publish): Auto releasing fails in GH Action
Signed-off-by: Gordon Smith <[email protected]>
1 parent 68e2e7c commit 6af6f60

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/npmPublish.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Publish Package
33
on:
44
push:
55
tags:
6-
- "*"
6+
- "v*"
77

88
jobs:
99
build:
@@ -31,7 +31,8 @@ jobs:
3131
CI: true
3232
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
3333
- run: npm run purge-jsdelivr
34-
- name: Create a Release
35-
uses: elgohr/Github-Release-Action@master
36-
env:
37-
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
34+
- name: Create Release
35+
uses: "marvinpinto/action-automatic-releases@latest"
36+
with:
37+
repo_token: "${{ secrets.GITHUB_TOKEN }}"
38+
prerelease: false

0 commit comments

Comments
 (0)