Skip to content

Commit 2016c2f

Browse files
committed
fix: update CI cache key and correct command syntax in plugin
1 parent f4b65ef commit 2016c2f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
with:
4949
node-version: ${{ matrix.node }}
5050
cache: 'npm'
51+
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
5152

5253
- run: npm ci --legacy-peer-deps
5354
- uses: nrwl/nx-set-shas@v4

nx-node-sea/src/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ function getSeaCommands(options: {
200200
`node -e "require('fs').copyFileSync(process.execPath, '${nodeBinPath}.exe')"`,
201201
`signtool remove /s '${nodeBinPath}.exe' `,
202202
// TODO: check if powershell or command prompt
203-
`npx postject ${nodeBinPath}.exe NODE_SEA_BLOB ${blobPath} ^ --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2`,
203+
`npx postject ${nodeBinPath}.exe NODE_SEA_BLOB ${blobPath} \` --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2`,
204204
...(sign ? [`signtool sign /fd SHA256 ${nodeBinPath}.exe`] : []),
205205
];
206206
} else {

0 commit comments

Comments
 (0)