Skip to content

Commit ce74503

Browse files
committed
Change strings to booleans
1 parent a1980df commit ce74503

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ switch (platform) {
4545
const baseCacheKey = `setup-bazel-${cacheVersion}-${cachePrefix}`
4646
const bazelrc = core.getMultilineInput('bazelrc')
4747

48-
const diskCacheEnabled = core.getInput('disk-cache')
48+
const diskCacheEnabled = core.getBooleanInput('disk-cache')
4949
const maxDiskCacheSize = core.getInput('max-disk-cache-size')
5050
if (diskCacheEnabled) {
5151
bazelrc.push(`common --disk_cache=${bazelDisk}`)
5252
}
5353

54-
const repositoryCacheEnabled = core.getInput('repository-cache')
54+
const repositoryCacheEnabled = core.getBooleanInput('repository-cache')
5555
const maxRepositoryCacheSize = core.getInput('max-repository-cache-size')
5656
if (repositoryCacheEnabled) {
5757
bazelrc.push(`common --repository_cache=${bazelRepository}`)

0 commit comments

Comments
 (0)