Skip to content

Commit

Permalink
chore: set publish job only work main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
iosh committed Dec 3, 2024
1 parent 365a838 commit 7245ec7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ jobs:
npm run test
publish:
name: Publish
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs:
- test-macOS-windows-binding
Expand Down

0 comments on commit 7245ec7

Please sign in to comment.