mirror of
https://github.com/imranismail/setup-kustomize.git
synced 2026-05-17 18:25:27 +00:00
Chmod file permission
This commit is contained in:
@@ -23,6 +23,7 @@ const restm = __importStar(require("typed-rest-client/RestClient"));
|
||||
const os = __importStar(require("os"));
|
||||
const path = __importStar(require("path"));
|
||||
const semver = __importStar(require("semver"));
|
||||
const fs = __importStar(require("fs"));
|
||||
let osPlat = os.platform();
|
||||
let osArch = os.arch();
|
||||
if (!tempDirectory) {
|
||||
@@ -161,6 +162,7 @@ function acquireKustomize(version) {
|
||||
core.debug(err);
|
||||
throw `Failed to download version ${version}: ${err}`;
|
||||
}
|
||||
fs.chmodSync(downloadPath, 0o755);
|
||||
return yield tc.cacheFile(downloadPath, 'kustomize', 'kustomize', version);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user