Skip to content

Commit

Permalink
add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Cammisuli committed Jul 3, 2024
1 parent 715f119 commit 39d902b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions workflow-steps/cache/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const key = `${hashKey(input_key)}`;
const currentBranchKeys = [key].map((k) => `${currentBranch}-${k}`);
const baseBranchKeys = baseBranch ? [key].map((k) => `${baseBranch}-${k}`) : [];

console.log([...currentBranchKeys, ...baseBranchKeys]);
cacheClient
.restore(
new RestoreRequest({
Expand Down
1 change: 1 addition & 0 deletions workflow-steps/cache/output/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5999,6 +5999,7 @@ if (!input_key) {
var key = `${hashKey(input_key)}`;
var currentBranchKeys = [key].map((k) => `${currentBranch}-${k}`);
var baseBranchKeys = baseBranch ? [key].map((k) => `${baseBranch}-${k}`) : [];
console.log([...currentBranchKeys, ...baseBranchKeys]);
cacheClient.restore(
new RestoreRequest({
keys: [...currentBranchKeys, ...baseBranchKeys]
Expand Down

0 comments on commit 39d902b

Please sign in to comment.