@@ -61292,6 +61292,9 @@ var State;
6129261292(function (State) {
6129361293 State["CachePrimaryKey"] = "CACHE_KEY";
6129461294 State["CacheMatchedKey"] = "CACHE_RESULT";
61295+ State["CacheRestoreOnly"] = "CACHE_RESTORE_ONLY";
61296+ State["True"] = "true";
61297+ State["False"] = "false";
6129561298})(State = exports.State || (exports.State = {}));
6129661299var Outputs;
6129761300(function (Outputs) {
@@ -61690,6 +61693,7 @@ const cache_utils_1 = __nccwpck_require__(1678);
6169061693const child_process_1 = __importDefault(__nccwpck_require__(2081));
6169161694const fs_1 = __importDefault(__nccwpck_require__(7147));
6169261695const os_1 = __importDefault(__nccwpck_require__(2037));
61696+ const constants_1 = __nccwpck_require__(9042);
6169361697function run() {
6169461698 return __awaiter(this, void 0, void 0, function* () {
6169561699 try {
@@ -61727,6 +61731,8 @@ function run() {
6172761731 core.debug(`add bin ${added}`);
6172861732 const goPath = yield io.which('go');
6172961733 const goVersion = (child_process_1.default.execSync(`${goPath} version`) || '').toString();
61734+ const cacheRestoreOnly = core.getBooleanInput('cache-restore-only');
61735+ core.saveState(constants_1.State.CacheRestoreOnly, cacheRestoreOnly ? constants_1.State.True : constants_1.State.False);
6173061736 if (cache && cache_utils_1.isCacheFeatureAvailable()) {
6173161737 const packageManager = 'default';
6173261738 const cacheDependencyPath = core.getInput('cache-dependency-path');
0 commit comments