Skip to content

Commit

Permalink
bump to the latest version of cache package
Browse files Browse the repository at this point in the history
  • Loading branch information
aayushshah15 committed Oct 3, 2024
1 parent c39d808 commit 941c362
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 11 deletions.
3 changes: 1 addition & 2 deletions dist/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -516,12 +516,11 @@ const requestUtils_1 = __nccwpck_require__(2846);
const axios_1 = __importDefault(__nccwpck_require__(7269));
const versionSalt = '1.0';
function getCacheApiUrl(resource) {
const baseUrl = process.env['BLACKSMITH_CACHE_URL'] || 'https://api.blacksmith.sh/cache';
const baseUrl = 'https://api.blacksmith.sh/cache';
if (!baseUrl) {
throw new Error('Cache Service Url not found, unable to restore cache.');
}
const url = `${baseUrl}/${resource}`;
core.debug(`Blacksmith cache resource URL: ${url}; version: 3.2.40`);
return url;
}
exports.getCacheApiUrl = getCacheApiUrl;
Expand Down
2 changes: 1 addition & 1 deletion dist/main/index.js.map

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions dist/post/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -516,12 +516,11 @@ const requestUtils_1 = __nccwpck_require__(2846);
const axios_1 = __importDefault(__nccwpck_require__(7269));
const versionSalt = '1.0';
function getCacheApiUrl(resource) {
const baseUrl = process.env['BLACKSMITH_CACHE_URL'] || 'https://api.blacksmith.sh/cache';
const baseUrl = 'https://api.blacksmith.sh/cache';
if (!baseUrl) {
throw new Error('Cache Service Url not found, unable to restore cache.');
}
const url = `${baseUrl}/${resource}`;
core.debug(`Blacksmith cache resource URL: ${url}; version: 3.2.40`);
return url;
}
exports.getCacheApiUrl = getCacheApiUrl;
Expand Down
2 changes: 1 addition & 1 deletion dist/post/index.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"author": "Alex Rodionov <[email protected]>",
"license": "MIT",
"dependencies": {
"@actions/cache": "npm:@useblacksmith/[email protected].149",
"@actions/cache": "npm:@useblacksmith/[email protected].154",
"@actions/core": "^1.10.1",
"@actions/github": "^6.0.0",
"@actions/glob": "^0.5.0",
Expand Down

0 comments on commit 941c362

Please sign in to comment.