Compare commits
2 commits
main
...
faillback-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f3a756b8e0 | ||
|
|
5e310f9e02 |
5 changed files with 20 additions and 5 deletions
|
|
@ -16,7 +16,12 @@ const platform = os.platform()
|
|||
let bazelOutputBase = core.getInput('output-base')
|
||||
if (!bazelOutputBase) {
|
||||
if (platform === 'win32') {
|
||||
bazelOutputBase = 'D:/_bazel'
|
||||
// check if GITHUB_WORKSPACE starts with D:
|
||||
if (process.env.GITHUB_WORKSPACE?.toLowerCase()?.startsWith('d:')) {
|
||||
bazelOutputBase = 'D:/_bazel'
|
||||
} else {
|
||||
bazelOutputBase = `C:/_bazel`
|
||||
}
|
||||
} else {
|
||||
bazelOutputBase = `${homeDir}/.bazel`
|
||||
}
|
||||
|
|
|
|||
7
dist/main/index.js
vendored
7
dist/main/index.js
vendored
|
|
@ -22,7 +22,12 @@ const platform = os.platform()
|
|||
let bazelOutputBase = core.getInput('output-base')
|
||||
if (!bazelOutputBase) {
|
||||
if (platform === 'win32') {
|
||||
bazelOutputBase = 'D:/_bazel'
|
||||
// check if GITHUB_WORKSPACE starts with D:
|
||||
if (process.env.GITHUB_WORKSPACE?.toLowerCase()?.startsWith('d:')) {
|
||||
bazelOutputBase = 'D:/_bazel'
|
||||
} else {
|
||||
bazelOutputBase = `C:/_bazel`
|
||||
}
|
||||
} else {
|
||||
bazelOutputBase = `${homeDir}/.bazel`
|
||||
}
|
||||
|
|
|
|||
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
7
dist/post/index.js
vendored
7
dist/post/index.js
vendored
|
|
@ -22,7 +22,12 @@ const platform = os.platform()
|
|||
let bazelOutputBase = core.getInput('output-base')
|
||||
if (!bazelOutputBase) {
|
||||
if (platform === 'win32') {
|
||||
bazelOutputBase = 'D:/_bazel'
|
||||
// check if GITHUB_WORKSPACE starts with D:
|
||||
if (process.env.GITHUB_WORKSPACE?.toLowerCase()?.startsWith('d:')) {
|
||||
bazelOutputBase = 'D:/_bazel'
|
||||
} else {
|
||||
bazelOutputBase = `C:/_bazel`
|
||||
}
|
||||
} else {
|
||||
bazelOutputBase = `${homeDir}/.bazel`
|
||||
}
|
||||
|
|
|
|||
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
Loading…
Add table
Add a link
Reference in a new issue