Skip to content

Commit

Permalink
try: print info
Browse files Browse the repository at this point in the history
  • Loading branch information
deemp committed Aug 26, 2023
1 parent be43c9d commit c2bcafa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/purge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ async function purgeByTime(useAccessedTime: boolean, key: string) {

const results: Cache[] = [];

core.info(
`ref: ${github.context.ref}\nowner: ${github.context.repo.owner}\nrepo: ${github.context.repo.repo}\nkey: ${key}`
);

for (let i = 1; i <= 500; i += 1) {
const { data: cachesRequest } =
await octokit.rest.actions.getActionsCacheList({
Expand Down

0 comments on commit c2bcafa

Please sign in to comment.