Release 0.18.0

This commit is contained in:
github-actions 2026-01-11 16:34:54 +00:00
parent b607b8f591
commit 083175551c
7 changed files with 30 additions and 21 deletions

2
dist/main/index.js vendored
View file

@ -11,6 +11,7 @@ const core = __nccwpck_require__(37484)
const github = __nccwpck_require__(93228)
const bazeliskVersion = core.getInput('bazelisk-version')
const cacheSave = core.getBooleanInput('cache-save')
const cacheVersion = core.getInput('cache-version')
const moduleRoot = core.getInput('module-root')
@ -143,6 +144,7 @@ core.exportVariable('BAZELISK_GITHUB_TOKEN', token)
module.exports = {
baseCacheKey,
cacheSave,
bazeliskCache: {
enabled: core.getBooleanInput('bazelisk-cache'),
files: [`${moduleRoot}/.bazelversion`],

File diff suppressed because one or more lines are too long

7
dist/post/index.js vendored
View file

@ -11,6 +11,7 @@ const core = __nccwpck_require__(37484)
const github = __nccwpck_require__(93228)
const bazeliskVersion = core.getInput('bazelisk-version')
const cacheSave = core.getBooleanInput('cache-save')
const cacheVersion = core.getInput('cache-version')
const moduleRoot = core.getInput('module-root')
@ -143,6 +144,7 @@ core.exportVariable('BAZELISK_GITHUB_TOKEN', token)
module.exports = {
baseCacheKey,
cacheSave,
bazeliskCache: {
enabled: core.getBooleanInput('bazelisk-cache'),
files: [`${moduleRoot}/.bazelversion`],
@ -103012,6 +103014,11 @@ async function run() {
}
async function saveCaches() {
if (!config.cacheSave) {
core.info('Cache saving is disabled (cache-save: false)')
return
}
await saveCache(config.bazeliskCache)
await saveCache(config.diskCache)
await saveCache(config.repositoryCache)

File diff suppressed because one or more lines are too long