Skip to content

new: Add cache base warmup strategy. - #16

Merged
milesj merged 6 commits into
masterfrom
cache-base
Nov 17, 2023
Merged

milesj merged 6 commits into
masterfrom
cache-base

Conversation

@milesj

@milesj milesj commented Nov 17, 2023

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread src/cache.ts
core.debug(`Hashing target profile = ${cacheTarget}`);
hasher.update(cacheTarget);

if (core.getInput('cache-base')) {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Big change here to the cache key

Comment thread src/cache.ts
@@ -0,0 +1,77 @@
import crypto from 'node:crypto';

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved cache stuff to its own file

@milesj
milesj merged commit c91b420 into master Nov 17, 2023
@milesj
milesj deleted the cache-base branch November 17, 2023 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant