Skip to content

Commit

Permalink
ci(workflow): update publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaodong2008 committed Apr 26, 2024
1 parent b27d974 commit 64842aa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
- name: Checkout Branch
run: git checkout main

- name: Bump package version
continue-on-error: true
run: |
Expand All @@ -43,7 +46,7 @@ jobs:
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
branch: main

- name: Create .npmrc file
run: |
Expand Down

0 comments on commit 64842aa

Please sign in to comment.