Skip to content

Commit 6b166ab

Browse files
committed
Fix github.ref matching
1 parent d2bc46d commit 6b166ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
env:
5454
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5555
publish_alpha:
56-
if: github.event_name == 'push' && github.ref == 'v2'
56+
if: github.event_name == 'push' && endsWith(github.ref, 'v2')
5757
needs: build_test
5858
name: publish alpha version to npm
5959
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)