Skip to content

feat!: match @actions/cache v6 signatures - #2

Draft
janakiram7755 wants to merge 2 commits into
feat/esm-rewritefrom
feat/v6-api
Draft

feat!: match @actions/cache v6 signatures#2
janakiram7755 wants to merge 2 commits into
feat/esm-rewritefrom
feat/v6-api

Conversation

@janakiram7755

Copy link
Copy Markdown
Collaborator

Stacked on #1.

  • saveCache(paths, key, options?: UploadOptions, enableCrossOsArchive?) returning number, -1 when not saved. Removes the drift where upstream's {uploadChunkSize} third argument would land in our enableCrossOsArchive as truthy.
  • restoreCache drops its 6th positional parameter.
  • enableCrossArchArchive moves into UploadOptions / DownloadOptions.
  • deleteCache unchanged, our own extension.

Both signatures now match v6 character-for-character. Cache versions still byte-identical to published 1.4.13.

Ref: actions/toolkit packages/cache/src/cache.ts @ 50ee743 (restoreCache) and #L472-L477 (saveCache).

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.

1 participant