Skip to content

Commit aa8ccbb

Browse files
Update build.yml
1 parent 994a540 commit aa8ccbb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
node -e "require('./lib/index.js')(':memory:').loadExtension('mod_spatialite').exec('SELECT InitSpatialMetaData();')"
6666
6767
publish-npm:
68-
if: ${{ github.event.inputs.job == 'push-npm' || github.event.inputs.job == "run-all"}}
68+
if: ${{ github.event.inputs.job == 'push-npm' || github.event.inputs.job == 'run-all'}}
6969
name: Publishing to NPM
7070
runs-on: ubuntu-20.04
7171
#needs: # 等待别的 job 任务完成
@@ -87,7 +87,7 @@ jobs:
8787
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
8888
8989
prebuild: # 执行node的 预构建
90-
if: ${{ github.event.inputs.job == 'prebuild' || github.event.inputs.job == "run-all" }}
90+
if: ${{ github.event.inputs.job == 'prebuild' || github.event.inputs.job == 'run-all' }}
9191
strategy:
9292
fail-fast: false
9393
matrix:
@@ -125,7 +125,7 @@ jobs:
125125
${{ env.ELECTRON_BUILD_CMD }} ('\.' -join ('node', 'exe', 'dll', 'pdb')) --arch ia32 -u ${{ secrets.GITHUB_TOKEN }}
126126
127127
prebuild-alpine:
128-
if: ${{ github.event.inputs.job == 'alpine' || github.event.inputs.job == "run-all" }}
128+
if: ${{ github.event.inputs.job == 'alpine' || github.event.inputs.job == 'run-all' }}
129129
strategy:
130130
fail-fast: false
131131
name: Prebuild on alpine
@@ -139,7 +139,7 @@ jobs:
139139
- run: ${{ env.NODE_BUILD_CMD }} '\.(node|exe|dll|pdb)' -u ${{ secrets.GITHUB_TOKEN }}
140140

141141
prebuild-alpine-arm:
142-
if: ${{ github.event.inputs.job == 'alpine-arm' || github.event.inputs.job == "run-all" }}
142+
if: ${{ github.event.inputs.job == 'alpine-arm' || github.event.inputs.job == 'run-all' }}
143143
strategy:
144144
fail-fast: false
145145
matrix:
@@ -160,7 +160,7 @@ jobs:
160160
${{ env.NODE_BUILD_CMD }} '\.(node|exe|dll|pdb)' -u ${{ secrets.GITHUB_TOKEN }}"
161161
162162
prebuild-linux-arm:
163-
if: ${{ github.event.inputs.job == 'linux-arm' || github.event.inputs.job == "run-all" }}
163+
if: ${{ github.event.inputs.job == 'linux-arm' || github.event.inputs.job == 'run-all' }}
164164
strategy:
165165
fail-fast: false
166166
matrix:

0 commit comments

Comments
 (0)