Skip to content

Commit

Permalink
workflow: re-add Check Info step (excluding Ubuntu), remove key secre…
Browse files Browse the repository at this point in the history
…t, make rename binaries work cross-platform
  • Loading branch information
JupiterPi committed Jan 1, 2025
1 parent d89342e commit 8f9c40a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const targets = [
{ name: "linux-arm64", platform: "linux", arch: "arm64", parcelWatcherVariant: "linux-arm64" },
{ name: "macos-x64", platform: "darwin", arch: "x64", parcelWatcherVariant: "darwin-x64" },
{ name: "macos-arm64", platform: "darwin", arch: "arm64", parcelWatcherVariant: "darwin-arm64" },
].filter(target => target.platform === process.platform)
]

// install temporary @parcel/watcher-${variant} dependencies
const parcelWatcherDependencies = [
Expand All @@ -30,7 +30,7 @@ const parcelWatcherDependencies = [
"@parcel/watcher-linux-arm64-glibc",
"@parcel/watcher-darwin-x64",
"@parcel/watcher-darwin-arm64"
].filter(dependency => dependency.includes(process.platform))
]
await executeCommand(`npm install --force ${parcelWatcherDependencies.join(" ")}`)

// build binaries
Expand Down

0 comments on commit 8f9c40a

Please sign in to comment.