Skip to content

Commit

Permalink
fix(ci): workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MonsterDeveloper committed Dec 16, 2024
1 parent cba61f2 commit 9a4461a
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
permissions:
contents: write
id-token: write
pull-requests: write
env:
HUSKY: 0
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -55,11 +58,5 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Create release
if: steps.changesets.outputs.published == 'true'
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ fromJSON(steps.changesets.outputs.publishedPackages)[0].version }}


0 comments on commit 9a4461a

Please sign in to comment.