Skip to content

Commit 419d091

Browse files
build(deps): bump @actions/cache from 3.1.2 to 3.1.3 (#672)
Co-authored-by: Fernandez Ludovic <[email protected]>
1 parent 8c2f4f9 commit 419d091

File tree

4 files changed

+16
-14
lines changed

4 files changed

+16
-14
lines changed

dist/post_run/index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,14 +1107,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
11071107
};
11081108
Object.defineProperty(exports, "__esModule", ({ value: true }));
11091109
const exec_1 = __nccwpck_require__(1514);
1110-
const core_1 = __nccwpck_require__(2186);
11111110
const io = __importStar(__nccwpck_require__(7436));
11121111
const fs_1 = __nccwpck_require__(7147);
11131112
const path = __importStar(__nccwpck_require__(1017));
11141113
const utils = __importStar(__nccwpck_require__(1518));
11151114
const constants_1 = __nccwpck_require__(8840);
11161115
const IS_WINDOWS = process.platform === 'win32';
1117-
core_1.exportVariable('MSYS', 'winsymlinks:nativestrict');
11181116
// Returns tar path and type: BSD or GNU
11191117
function getTarPath() {
11201118
return __awaiter(this, void 0, void 0, function* () {
@@ -1304,7 +1302,10 @@ function execCommands(commands, cwd) {
13041302
return __awaiter(this, void 0, void 0, function* () {
13051303
for (const command of commands) {
13061304
try {
1307-
yield exec_1.exec(command, undefined, { cwd });
1305+
yield exec_1.exec(command, undefined, {
1306+
cwd,
1307+
env: Object.assign(Object.assign({}, process.env), { MSYS: 'winsymlinks:nativestrict' })
1308+
});
13081309
}
13091310
catch (error) {
13101311
throw new Error(`${command.split(' ')[0]} failed with error: ${error === null || error === void 0 ? void 0 : error.message}`);

dist/run/index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,14 +1107,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
11071107
};
11081108
Object.defineProperty(exports, "__esModule", ({ value: true }));
11091109
const exec_1 = __nccwpck_require__(1514);
1110-
const core_1 = __nccwpck_require__(2186);
11111110
const io = __importStar(__nccwpck_require__(7436));
11121111
const fs_1 = __nccwpck_require__(7147);
11131112
const path = __importStar(__nccwpck_require__(1017));
11141113
const utils = __importStar(__nccwpck_require__(1518));
11151114
const constants_1 = __nccwpck_require__(8840);
11161115
const IS_WINDOWS = process.platform === 'win32';
1117-
core_1.exportVariable('MSYS', 'winsymlinks:nativestrict');
11181116
// Returns tar path and type: BSD or GNU
11191117
function getTarPath() {
11201118
return __awaiter(this, void 0, void 0, function* () {
@@ -1304,7 +1302,10 @@ function execCommands(commands, cwd) {
13041302
return __awaiter(this, void 0, void 0, function* () {
13051303
for (const command of commands) {
13061304
try {
1307-
yield exec_1.exec(command, undefined, { cwd });
1305+
yield exec_1.exec(command, undefined, {
1306+
cwd,
1307+
env: Object.assign(Object.assign({}, process.env), { MSYS: 'winsymlinks:nativestrict' })
1308+
});
13081309
}
13091310
catch (error) {
13101311
throw new Error(`${command.split(' ')[0]} failed with error: ${error === null || error === void 0 ? void 0 : error.message}`);

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"author": "golangci",
2525
"license": "MIT",
2626
"dependencies": {
27-
"@actions/cache": "^3.1.2",
27+
"@actions/cache": "^3.1.3",
2828
"@actions/core": "^1.10.0",
2929
"@actions/exec": "^1.1.1",
3030
"@actions/github": "^5.1.1",

0 commit comments

Comments
 (0)