File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -1591,11 +1591,12 @@ exports.StateCacheStorage = void 0;
15911591const fs_1 = __importDefault(__nccwpck_require__(7147));
15921592const path_1 = __importDefault(__nccwpck_require__(1017));
15931593const os_1 = __importDefault(__nccwpck_require__(2037));
1594+ const process_1 = __importDefault(__nccwpck_require__(7282));
15941595const core = __importStar(__nccwpck_require__(2186));
15951596const github_1 = __nccwpck_require__(5438);
15961597const plugin_retry_1 = __nccwpck_require__(6298);
15971598const cache = __importStar(__nccwpck_require__(7799));
1598- const CACHE_KEY = '_state';
1599+ const CACHE_KEY = encodeURIComponent( '_state' + process_1.default.env.GITHUB_WORKFLOW + '-' + process_1.default.env.GITHUB_JOB) ;
15991600const STATE_FILE = 'state.txt';
16001601const STALE_DIR = '56acbeaa-1fef-4c79-8f84-7565e560fb03';
16011602const mkTempDir = () => {
@@ -89199,6 +89200,14 @@ module.exports = require("perf_hooks");
8919989200
8920089201/***/ }),
8920189202
89203+ /***/ 7282:
89204+ /***/ ((module) => {
89205+
89206+ "use strict";
89207+ module.exports = require("process");
89208+
89209+ /***/ }),
89210+
8920289211/***/ 5477:
8920389212/***/ ((module) => {
8920489213
Original file line number Diff line number Diff line change @@ -2,12 +2,15 @@ import {IStateStorage} from '../../interfaces/state/state-storage';
22import fs from 'fs' ;
33import path from 'path' ;
44import os from 'os' ;
5+ import process from 'process' ;
56import * as core from '@actions/core' ;
67import { context , getOctokit } from '@actions/github' ;
78import { retry as octokitRetry } from '@octokit/plugin-retry' ;
89import * as cache from '@actions/cache' ;
910
10- const CACHE_KEY = '_state' ;
11+ const CACHE_KEY = encodeURIComponent (
12+ '_state' + process . env . GITHUB_WORKFLOW + '-' + process . env . GITHUB_JOB
13+ ) ;
1114const STATE_FILE = 'state.txt' ;
1215const STALE_DIR = '56acbeaa-1fef-4c79-8f84-7565e560fb03' ;
1316
You can’t perform that action at this time.
0 commit comments