Merge remote-tracking branch 'origin/main' into faillback-to-c
This commit is contained in:
commit
f3a756b8e0
4 changed files with 12 additions and 4 deletions
6
dist/main/index.js
vendored
6
dist/main/index.js
vendored
|
|
@ -103375,7 +103375,11 @@ async function downloadBazelisk() {
|
|||
|
||||
core.debug('Adding to the cache...');
|
||||
fs.chmodSync(downloadPath, '755');
|
||||
const cachePath = await tc.cacheFile(downloadPath, 'bazel', 'bazelisk', version)
|
||||
let bazel_name = "bazel";
|
||||
if (platform == 'windows') {
|
||||
bazel_name = `${bazel_name}.exe`
|
||||
}
|
||||
const cachePath = await tc.cacheFile(downloadPath, bazel_name, 'bazelisk', version)
|
||||
core.debug(`Successfully cached bazelisk to ${cachePath}`)
|
||||
|
||||
return cachePath
|
||||
|
|
|
|||
2
dist/main/index.js.map
vendored
2
dist/main/index.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/post/index.js.map
vendored
2
dist/post/index.js.map
vendored
File diff suppressed because one or more lines are too long
6
index.js
6
index.js
|
|
@ -96,7 +96,11 @@ async function downloadBazelisk() {
|
|||
|
||||
core.debug('Adding to the cache...');
|
||||
fs.chmodSync(downloadPath, '755');
|
||||
const cachePath = await tc.cacheFile(downloadPath, 'bazel', 'bazelisk', version)
|
||||
let bazel_name = "bazel";
|
||||
if (platform == 'windows') {
|
||||
bazel_name = `${bazel_name}.exe`
|
||||
}
|
||||
const cachePath = await tc.cacheFile(downloadPath, bazel_name, 'bazelisk', version)
|
||||
core.debug(`Successfully cached bazelisk to ${cachePath}`)
|
||||
|
||||
return cachePath
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue