mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-23 03:45:31 +00:00
Changed logs to warnings
This commit is contained in:
parent
7f45813c72
commit
921c58ee44
2 changed files with 6 additions and 6 deletions
|
@ -5,13 +5,13 @@ import run from "./restore";
|
|||
|
||||
async function runRestoreAction(): Promise<void> {
|
||||
if (core.getInput(Inputs.SaveOnAnyFailure) != "") {
|
||||
core.info(
|
||||
`Input ${Inputs.SaveOnAnyFailure} value is passed in the input, this input will be ignored as you are using restore-only action`
|
||||
core.warning(
|
||||
`${Inputs.SaveOnAnyFailure} value is passed in the input, this input is invalid for the restore-only action and hence will be ignored`
|
||||
);
|
||||
}
|
||||
if (core.getInput(Inputs.UploadChunkSize) != "") {
|
||||
core.info(
|
||||
`Input ${Inputs.UploadChunkSize} value is passed in the input, this input will be ignored as you are using restore-only action`
|
||||
core.warning(
|
||||
`${Inputs.UploadChunkSize} value is passed in the input, this input is invalid for the restore-only action and hence will be ignored`
|
||||
);
|
||||
}
|
||||
await run();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue