Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export class Cache {
public static async post(): Promise<CachePostState | undefined> {
const state = core.getState(Cache.POST_CACHE_KEY);
if (!state) {
core.debug(`Cache.post no state`);
core.info(`State not set`);
return Promise.resolve(undefined);
}
let cacheState: CachePostState;
Expand Down
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ export async function run(main: () => Promise<void>, post?: () => Promise<void>)
if (post) {
await post();
}
await Cache.post();
await core.group(`Post cache`, async () => {
await Cache.post();
});
}
}