mirror of
https://github.com/actions/setup-go.git
synced 2025-06-30 05:03:43 +00:00
Add cache-restore-only input
This commit is contained in:
parent
41c2024c46
commit
aef6ecca6c
3 changed files with 7 additions and 2 deletions
3
dist/cache-save/index.js
vendored
3
dist/cache-save/index.js
vendored
|
@ -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';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue