From d8dede30d8e544d36f3e47db54ec26837eb17afe Mon Sep 17 00:00:00 2001 From: Bassem Dghaidi <568794+Link-@users.noreply.github.com> Date: Mon, 17 Jun 2024 01:32:58 -0700 Subject: [PATCH] Fix cache service url bug --- dist/restore-only/index.js | 2 +- dist/restore/index.js | 2 +- dist/save-only/index.js | 2 +- dist/save/index.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/restore-only/index.js b/dist/restore-only/index.js index 18a82ac..05e0351 100644 --- a/dist/restore-only/index.js +++ b/dist/restore-only/index.js @@ -4912,7 +4912,7 @@ exports.TarFilename = 'cache.tar'; exports.ManifestFilename = 'manifest.txt'; // Cache Service Metadata exports.CacheUrl = `${process.env['ACTIONS_CACHE_URL_NEXT']} || ${process.env['ACTIONS_CACHE_URL']}`; -exports.CacheServiceVersion = `${process.env['ACTIONS_CACHE_URL_NEXT']} ? 'v2' : 'v1'`; +exports.CacheServiceVersion = `${process.env['ACTIONS_CACHE_URL_NEXT'] ? 'v2' : 'v1'}`; //# sourceMappingURL=constants.js.map /***/ }), diff --git a/dist/restore/index.js b/dist/restore/index.js index 2453107..7c49969 100644 --- a/dist/restore/index.js +++ b/dist/restore/index.js @@ -4912,7 +4912,7 @@ exports.TarFilename = 'cache.tar'; exports.ManifestFilename = 'manifest.txt'; // Cache Service Metadata exports.CacheUrl = `${process.env['ACTIONS_CACHE_URL_NEXT']} || ${process.env['ACTIONS_CACHE_URL']}`; -exports.CacheServiceVersion = `${process.env['ACTIONS_CACHE_URL_NEXT']} ? 'v2' : 'v1'`; +exports.CacheServiceVersion = `${process.env['ACTIONS_CACHE_URL_NEXT'] ? 'v2' : 'v1'}`; //# sourceMappingURL=constants.js.map /***/ }), diff --git a/dist/save-only/index.js b/dist/save-only/index.js index d60f257..f58584d 100644 --- a/dist/save-only/index.js +++ b/dist/save-only/index.js @@ -4912,7 +4912,7 @@ exports.TarFilename = 'cache.tar'; exports.ManifestFilename = 'manifest.txt'; // Cache Service Metadata exports.CacheUrl = `${process.env['ACTIONS_CACHE_URL_NEXT']} || ${process.env['ACTIONS_CACHE_URL']}`; -exports.CacheServiceVersion = `${process.env['ACTIONS_CACHE_URL_NEXT']} ? 'v2' : 'v1'`; +exports.CacheServiceVersion = `${process.env['ACTIONS_CACHE_URL_NEXT'] ? 'v2' : 'v1'}`; //# sourceMappingURL=constants.js.map /***/ }), diff --git a/dist/save/index.js b/dist/save/index.js index b4fef46..1f4f7b7 100644 --- a/dist/save/index.js +++ b/dist/save/index.js @@ -4912,7 +4912,7 @@ exports.TarFilename = 'cache.tar'; exports.ManifestFilename = 'manifest.txt'; // Cache Service Metadata exports.CacheUrl = `${process.env['ACTIONS_CACHE_URL_NEXT']} || ${process.env['ACTIONS_CACHE_URL']}`; -exports.CacheServiceVersion = `${process.env['ACTIONS_CACHE_URL_NEXT']} ? 'v2' : 'v1'`; +exports.CacheServiceVersion = `${process.env['ACTIONS_CACHE_URL_NEXT'] ? 'v2' : 'v1'}`; //# sourceMappingURL=constants.js.map /***/ }),