File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 5454 build :
5555 name : Build ${{ matrix.settings.target }} with node@22
5656 runs-on : ${{ matrix.settings.host }}
57- if : ${{ github.ref == 'refs/head/main' || startsWith(github.ref, 'refs/tags/') }}
5857 strategy :
5958 fail-fast : false
6059 matrix :
@@ -134,7 +133,6 @@ jobs:
134133
135134 test-macos-binding :
136135 name : Test ${{ matrix.settings.target }} with node@${{ matrix.node }}
137- if : ${{ startsWith(github.ref, 'refs/tags/') }}
138136 needs :
139137 - build
140138 strategy :
@@ -313,7 +311,6 @@ jobs:
313311 publish :
314312 name : Publish
315313 runs-on : ubuntu-latest
316- if : ${{ startsWith(github.ref, 'refs/tags/') }}
317314 needs :
318315 - lint
319316 - test-macos-binding
@@ -340,6 +337,7 @@ jobs:
340337 run : ls -R ./npm
341338 shell : bash
342339 - name : Publish
340+ if : ${{ startsWith(github.ref, 'refs/tags/') }}
343341 run : |
344342 npm config set provenance true
345343 if git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+$";
You can’t perform that action at this time.
0 commit comments