File tree 2 files changed +13
-2
lines changed
2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -1591,11 +1591,12 @@ exports.StateCacheStorage = void 0;
1591
1591
const fs_1 = __importDefault(__nccwpck_require__(7147));
1592
1592
const path_1 = __importDefault(__nccwpck_require__(1017));
1593
1593
const os_1 = __importDefault(__nccwpck_require__(2037));
1594
+ const process_1 = __importDefault(__nccwpck_require__(7282));
1594
1595
const core = __importStar(__nccwpck_require__(2186));
1595
1596
const github_1 = __nccwpck_require__(5438);
1596
1597
const plugin_retry_1 = __nccwpck_require__(6298);
1597
1598
const cache = __importStar(__nccwpck_require__(7799));
1598
- const CACHE_KEY = '_state';
1599
+ const CACHE_KEY = '_state' + process_1.default.env.GITHUB_WORKFLOW + '-' + process_1.default.env.GITHUB_JOB ;
1599
1600
const STATE_FILE = 'state.txt';
1600
1601
const STALE_DIR = '56acbeaa-1fef-4c79-8f84-7565e560fb03';
1601
1602
const mkTempDir = () => {
@@ -89199,6 +89200,14 @@ module.exports = require("perf_hooks");
89199
89200
89200
89201
/***/ }),
89201
89202
89203
+ /***/ 7282:
89204
+ /***/ ((module) => {
89205
+
89206
+ "use strict";
89207
+ module.exports = require("process");
89208
+
89209
+ /***/ }),
89210
+
89202
89211
/***/ 5477:
89203
89212
/***/ ((module) => {
89204
89213
Original file line number Diff line number Diff line change @@ -2,12 +2,14 @@ import {IStateStorage} from '../../interfaces/state/state-storage';
2
2
import fs from 'fs' ;
3
3
import path from 'path' ;
4
4
import os from 'os' ;
5
+ import process from 'process' ;
5
6
import * as core from '@actions/core' ;
6
7
import { context , getOctokit } from '@actions/github' ;
7
8
import { retry as octokitRetry } from '@octokit/plugin-retry' ;
8
9
import * as cache from '@actions/cache' ;
9
10
10
- const CACHE_KEY = '_state' ;
11
+ const CACHE_KEY =
12
+ '_state' + process . env . GITHUB_WORKFLOW + '-' + process . env . GITHUB_JOB ;
11
13
const STATE_FILE = 'state.txt' ;
12
14
const STALE_DIR = '56acbeaa-1fef-4c79-8f84-7565e560fb03' ;
13
15
You can’t perform that action at this time.
0 commit comments