pull/1662/head
Cyril Rohr 2 weeks ago
parent 9fc411013e
commit 71a268f01a
No known key found for this signature in database

@ -100111,7 +100111,7 @@ const canSaveToS3 = process.env["RUNS_ON_S3_BUCKET_CACHE"] !== undefined;
function restoreImpl(stateProvider, earlyExit) {
return __awaiter(this, void 0, void 0, function* () {
try {
if (!utils.isCacheFeatureAvailable()) {
if (!canSaveToS3 && !utils.isCacheFeatureAvailable()) {
core.setOutput(constants_1.Outputs.CacheHit, "false");
return;
}

@ -100111,7 +100111,7 @@ const canSaveToS3 = process.env["RUNS_ON_S3_BUCKET_CACHE"] !== undefined;
function restoreImpl(stateProvider, earlyExit) {
return __awaiter(this, void 0, void 0, function* () {
try {
if (!utils.isCacheFeatureAvailable()) {
if (!canSaveToS3 && !utils.isCacheFeatureAvailable()) {
core.setOutput(constants_1.Outputs.CacheHit, "false");
return;
}

@ -100116,7 +100116,7 @@ function saveImpl(stateProvider) {
return __awaiter(this, void 0, void 0, function* () {
let cacheId = -1;
try {
if (!utils.isCacheFeatureAvailable()) {
if (!canSaveToS3 && !utils.isCacheFeatureAvailable()) {
return;
}
if (!utils.isValidEvent()) {

@ -100116,7 +100116,7 @@ function saveImpl(stateProvider) {
return __awaiter(this, void 0, void 0, function* () {
let cacheId = -1;
try {
if (!utils.isCacheFeatureAvailable()) {
if (!canSaveToS3 && !utils.isCacheFeatureAvailable()) {
return;
}
if (!utils.isValidEvent()) {

Loading…
Cancel
Save