Add cache-restore-only input

This commit is contained in:
Sergey Dolin 2023-03-31 08:27:15 +02:00
parent 41c2024c46
commit aef6ecca6c
3 changed files with 7 additions and 2 deletions

View file

@ -60363,7 +60363,8 @@ function run() {
exports.run = run;
const cachePackages = () => __awaiter(void 0, void 0, void 0, function* () {
const cacheInput = core.getBooleanInput('cache');
if (!cacheInput) {
const cacheRestoreOnly = core.getBooleanInput('cache-restore-only');
if (!cacheInput || cacheRestoreOnly) {
return;
}
const packageManager = 'default';