mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-07 06:47:46 +02:00
test
This commit is contained in:
parent
990a88868f
commit
9aaed35a07
2 changed files with 2 additions and 0 deletions
1
dist/restore/index.js
vendored
1
dist/restore/index.js
vendored
|
@ -48993,6 +48993,7 @@ function run() {
|
||||||
core.saveState(constants_1.State.SaveCache, saveCache);
|
core.saveState(constants_1.State.SaveCache, saveCache);
|
||||||
core.info(`Input save-cache-on-any-failure is set to yes, the cache will be saved despite of any failure in the build.`);
|
core.info(`Input save-cache-on-any-failure is set to yes, the cache will be saved despite of any failure in the build.`);
|
||||||
core.info(core.getState(constants_1.State.SaveCache));
|
core.info(core.getState(constants_1.State.SaveCache));
|
||||||
|
core.info(core.getState(constants_1.State.CachePrimaryKey));
|
||||||
}
|
}
|
||||||
if (!cacheKey) {
|
if (!cacheKey) {
|
||||||
if (core.getInput(constants_1.Inputs.StrictRestore) == "true") {
|
if (core.getInput(constants_1.Inputs.StrictRestore) == "true") {
|
||||||
|
|
|
@ -43,6 +43,7 @@ async function run(): Promise<void> {
|
||||||
`Input save-cache-on-any-failure is set to yes, the cache will be saved despite of any failure in the build.`
|
`Input save-cache-on-any-failure is set to yes, the cache will be saved despite of any failure in the build.`
|
||||||
);
|
);
|
||||||
core.info(core.getState(State.SaveCache));
|
core.info(core.getState(State.SaveCache));
|
||||||
|
core.info(core.getState(State.CachePrimaryKey));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!cacheKey) {
|
if (!cacheKey) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue