Skip to content

Commit a07bd8f

Browse files
committed
build: update condition
1 parent 58025eb commit a07bd8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test-and-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- run: npm test
2525

2626
release:
27-
if: github.event.base_ref == 'refs/heads/main'
27+
if: github.ref == 'refs/heads/main'
2828
runs-on: ubuntu-latest
2929
needs: test
3030
steps:

0 commit comments

Comments
 (0)