Trying with inputs

This commit is contained in:
Sankalp Kotewar 2022-11-21 13:47:05 +00:00 committed by GitHub
parent f17d1159c8
commit 1cbab03e0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 7 deletions

View file

@ -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 {

View file

@ -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));