Skip to content

Commit 7ee6917

Browse files
committed
npm ci
1 parent bc32011 commit 7ee6917

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/npm_publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
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

0 commit comments

Comments
 (0)