Skip to content

Commit caca50c

Browse files
Update @chillicream/nitro-github-actions to 0.0.6
1 parent a58d93a commit caca50c

4 files changed

Lines changed: 15 additions & 11 deletions

File tree

dist/index.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39776,12 +39776,16 @@ async function installNitro(version) {
3977639776
? await extractTar(downloadPath)
3977739777
: await extractZip(downloadPath);
3977839778
toolPath = await cacheDir(extractPath, toolName, version);
39779+
// Only the freshly extracted binary is marked executable. A binary that is
39780+
// already in the tool cache was installed by an earlier job, possibly as a
39781+
// different user (a job container runs as root), and chmod on a file owned
39782+
// by another user fails with EPERM.
39783+
if (osType !== "win") {
39784+
const binaryPath = external_path_namespaceObject.join(toolPath, binaryName);
39785+
await exec_exec("chmod", ["+x", binaryPath]);
39786+
}
3977939787
}
3978039788
addPath(toolPath);
39781-
if (osType !== "win") {
39782-
const binaryPath = external_path_namespaceObject.join(toolPath, binaryName);
39783-
await exec_exec("chmod", ["+x", binaryPath]);
39784-
}
3978539789
}
3978639790
function getSourceMetadata(jobId) {
3978739791
const { /* context */ "_": context } = github_namespaceObject;

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"@actions/exec": "^3.0.0",
2424
"@actions/github": "^9.0.0",
2525
"@actions/tool-cache": "^4.0.0",
26-
"@chillicream/nitro-github-actions": "0.0.5"
26+
"@chillicream/nitro-github-actions": "0.0.6"
2727
}
2828
}

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,22 +87,22 @@ __metadata:
8787
"@actions/exec": "npm:^3.0.0"
8888
"@actions/github": "npm:^9.0.0"
8989
"@actions/tool-cache": "npm:^4.0.0"
90-
"@chillicream/nitro-github-actions": "npm:0.0.5"
90+
"@chillicream/nitro-github-actions": "npm:0.0.6"
9191
"@types/node": "npm:^22.0.0"
9292
"@vercel/ncc": "npm:^0.38.4"
9393
typescript: "npm:^5.9.3"
9494
languageName: unknown
9595
linkType: soft
9696

97-
"@chillicream/nitro-github-actions@npm:0.0.5":
98-
version: 0.0.5
99-
resolution: "@chillicream/nitro-github-actions@npm:0.0.5"
97+
"@chillicream/nitro-github-actions@npm:0.0.6":
98+
version: 0.0.6
99+
resolution: "@chillicream/nitro-github-actions@npm:0.0.6"
100100
peerDependencies:
101101
"@actions/core": ^3.0.0
102102
"@actions/exec": ^3.0.0
103103
"@actions/github": ^9.0.0
104104
"@actions/tool-cache": ^4.0.0
105-
checksum: 10c0/dfed51f74f1bea3ded32c420af1e5a194850f2f2bb5ffa0dade43b90f8e094b1657598c6f1a0d1b4d145540ad8e43ce36425c359336bbb619e3f3a6f8b6ec67d
105+
checksum: 10c0/39a8e89e83275f16a91dd929781522a5e64374e550462ae9f1b2e2857c9fe061587373f7485ab88aa3a93ceffa94f904ab239411d40cc91d3db0c4a56ac495a2
106106
languageName: node
107107
linkType: hard
108108

0 commit comments

Comments
 (0)