File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 build-native :
2525 name : Build native (${{ matrix.target }})
2626 runs-on : ${{ matrix.runner }}
27- if : inputs.skip_build == ''
27+ if : ${{ ! inputs.skip_build }}
2828 strategy :
2929 fail-fast : false
3030 matrix :
@@ -124,7 +124,7 @@ jobs:
124124 build-wasm :
125125 name : Build WASM
126126 runs-on : ubuntu-latest
127- if : inputs.skip_build == ''
127+ if : ${{ ! inputs.skip_build }}
128128 steps :
129129 - uses : actions/checkout@v6
130130
@@ -169,7 +169,7 @@ jobs:
169169 name : Publish to npm
170170 needs : [ build-native, build-wasm ]
171171 runs-on : ubuntu-latest
172- if : ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
172+ if : always() && ( startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch')
173173 environment : Cargo
174174 permissions :
175175 contents : read
You can’t perform that action at this time.
0 commit comments