Skip to content

Switch cache action to use the cache node package#313

Merged
aiqiaoy merged 5 commits intomasterfrom
aiyan/use-cache-package
May 20, 2020
Merged

Switch cache action to use the cache node package#313
aiqiaoy merged 5 commits intomasterfrom
aiyan/use-cache-package

Conversation

@aiqiaoy
Copy link
Copy Markdown
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 dhadka and joshmgross May 15, 2020 19:31
Copy link
Copy Markdown
Contributor

@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/http-client": "^1.0.8",
"@actions/io": "^1.0.1",
"uuid": "^3.3.3"
"@actions/cache": "^0.1.0"
Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

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

@smorimoto
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

aiqiaoy commented May 19, 2020

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

@smorimoto
Copy link
Copy Markdown
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