mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Use correct pkg arg
This commit is contained in:
parent
bc51c839d0
commit
c70659b7a1
2 changed files with 2 additions and 2 deletions
2
.github/workflows/create-artifact.yml
vendored
2
.github/workflows/create-artifact.yml
vendored
|
|
@ -50,7 +50,7 @@ jobs:
|
|||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: "lts/*"
|
||||
node-version: "22.x"
|
||||
|
||||
- name: Setup safe-chain
|
||||
run: |
|
||||
|
|
|
|||
2
build.js
2
build.js
|
|
@ -73,7 +73,7 @@ function buildSafeChainBinary(target) {
|
|||
// eslint-disable-next-line no-console
|
||||
console.error("Target: " + target);
|
||||
return new Promise((resolve, reject) => {
|
||||
const pkg = spawn("pkg", ["./build/package.json", `--target=${target}`], {
|
||||
const pkg = spawn("pkg", ["./build/package.json", "--targets", target], {
|
||||
stdio: "inherit",
|
||||
shell: true,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue