Skip to content

Commit

Permalink
📝 Update workflow release action
Browse files Browse the repository at this point in the history
- Added a patch for "@cardbrother/nestjs-tencent-cloud-sdk"
- Updated conditions in the release workflow for consistency
  • Loading branch information
guotingchao committed Apr 29, 2024
1 parent b10d2cd commit bab54bf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/wise-suns-hope.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cardbrother/nestjs-tencent-cloud-sdk": patch
---

update workflow release action
4 changes: 2 additions & 2 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
pnpm build
- name: 📣 Create Release Pull Request and Publish new version to Npm
if: github.head_ref == 'develop' && github.event_name == 'pull_request'
if: github.ref_name == 'develop' && github.event_name == 'pull_request'
id: changesets
uses: changesets/[email protected]
with:
Expand All @@ -74,7 +74,7 @@ jobs:
NPM_TOKEN: ${{ env.NPM_TOKEN }}

- name: 🎺 Publish new version to Github Packages
if: startsWith(github.head_ref, 'changeset-release/main') && github.event_name == 'pull_request'
if: startsWith(github.ref_name, 'changeset-release/main') && github.event_name == 'pull_request'
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ env.GITHUB_TOKEN }}
Expand Down

0 comments on commit bab54bf

Please sign in to comment.