mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-23 17:23:59 +08:00
Trying with inputs
This commit is contained in:
parent
f17d1159c8
commit
1cbab03e0e
5 changed files with 7 additions and 7 deletions
|
@ -4,7 +4,7 @@ export enum Inputs {
|
|||
RestoreKeys = "restore-keys",
|
||||
UploadChunkSize = "upload-chunk-size",
|
||||
StrictRestore = "strict-restore",
|
||||
SaveCacheOnAnyFailure = "save-cache-on-any-failure"
|
||||
SaveCacheOnAnyFailure = "saveCacheOnAnyFailure"
|
||||
}
|
||||
|
||||
export enum Outputs {
|
||||
|
|
|
@ -40,7 +40,7 @@ async function run(): Promise<void> {
|
|||
if (saveCache === "yes") {
|
||||
core.saveState(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.`
|
||||
`Input saveCacheOnAnyFailure 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.CachePrimaryKey));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue