Skip to content

Commit

Permalink
Fix create release step
Browse files Browse the repository at this point in the history
  • Loading branch information
switz committed Jan 3, 2024
1 parent 6ab0706 commit 595dcff
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,15 @@ jobs:
- uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.NPM_AUTH_TOKEN }}
- uses: JS-DevTools/npm-publish@v2
- name: Create Release
if: steps.publish.outputs.type != 'none'
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
token: ${{ secrets.REPO_TOKEN }}
registry: 'https://npm.pkg.github.com'
tag_name: ${{ steps.publish.outputs.version }}
release_name: Release ${{ steps.publish.outputs.version }}
body: ${{ steps.publish.outputs.version }}
draft: false
prerelease: false

0 comments on commit 595dcff

Please sign in to comment.