mirror of https://github.com/actions/cache.git
build
parent
9fc411013e
commit
71a268f01a
|
@ -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…
Reference in New Issue