Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch cache action to use the cache node package #313

Merged
merged 5 commits into from
May 20, 2020

Conversation

aiqiaoy
Copy link
Contributor

@aiqiaoy aiqiaoy commented May 15, 2020

Biggest change is in setCacheState. We are now only saving cache key not the entire artifact cache object since cacheKey what we get back from saveCache.

@aiqiaoy aiqiaoy marked this pull request as ready for review May 15, 2020 19:31
@aiqiaoy aiqiaoy requested review from joshmgross and dhadka May 15, 2020 19:31
Copy link
Member

@joshmgross joshmgross left a comment

Choose a reason for hiding this comment

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

Awesome! Looks good to me

package.json Outdated
"@actions/io": "^1.0.1",
"uuid": "^3.3.3"
"@actions/cache": "^0.1.0"
Copy link
Member

Choose a reason for hiding this comment

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

Let's make sure we publish a v1 of @actions/cache before we publish this v2 action. Would be odd if we had a major action version consume a preview package

@joshmgross
Copy link
Member

Let's add a note in the README pointing to the package in the toolkit

@smorimoto
Copy link
Contributor

Well, will Zstd support be removed?

@aiqiaoy aiqiaoy force-pushed the aiyan/use-cache-package branch from 956852b to 249a220 Compare May 18, 2020 15:32
@aiqiaoy
Copy link
Contributor Author

aiqiaoy commented May 19, 2020

@imbsky See actions/toolkit#469 for the zstd fixes.

@smorimoto
Copy link
Contributor

(I just checked the PR 🙂)

@aiqiaoy aiqiaoy force-pushed the aiyan/use-cache-package branch from 4e389df to e8d9126 Compare May 19, 2020 19:25
@aiqiaoy aiqiaoy force-pushed the aiyan/use-cache-package branch from e8d9126 to bcc23b9 Compare May 19, 2020 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants