pull/1662/head
Cyril Rohr 2025-10-14 20:52:01 +02:00
parent 9fc411013e
commit 71a268f01a
No known key found for this signature in database
4 changed files with 4 additions and 4 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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()) {

2
dist/save/index.js vendored
View File

@ -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()) {