Compare commits
2 Commits
v0.20.0-rc
...
v0.20.0-rc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a24f5c12ca | ||
|
|
e73765a5ce |
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user