Skip to content

Commit 9c4dead

Browse files
committed
ci: add release condition
1 parent 7574ce7 commit 9c4dead

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
release:
3131
needs: [build]
3232
runs-on: ubuntu-latest
33+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
3334
steps:
3435
- uses: actions/checkout@v4
3536
- uses: actions/setup-node@v4

0 commit comments

Comments
 (0)