mirror of
https://github.com/actions/cache.git
synced 2025-04-22 03:56:45 +00:00
Add Eric's e2e test change to get more coverage
This commit is contained in:
parent
0232e3178d
commit
3f662ca624
7 changed files with 143 additions and 20 deletions
3
dist/save/index.js
vendored
3
dist/save/index.js
vendored
|
@ -2981,6 +2981,7 @@ const exec_1 = __webpack_require__(986);
|
|||
const io = __importStar(__webpack_require__(1));
|
||||
const fs_1 = __webpack_require__(747);
|
||||
const path = __importStar(__webpack_require__(622));
|
||||
const tar = __importStar(__webpack_require__(943));
|
||||
function isGnuTar() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
core.debug("Checking tar --version");
|
||||
|
@ -3007,7 +3008,7 @@ function getTarPath(args) {
|
|||
if (fs_1.existsSync(systemTar)) {
|
||||
return systemTar;
|
||||
}
|
||||
else if (yield isGnuTar()) {
|
||||
else if (yield tar.isGnuTar()) {
|
||||
args.push("--force-local");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue