Skip to content

Cache package release for compression change in windows#1281

Merged
Phantsure merged 58 commits intomainfrom
phantsure/compression-changes-release
Dec 22, 2022
Merged

Cache package release for compression change in windows#1281
Phantsure merged 58 commits intomainfrom
phantsure/compression-changes-release

Conversation

@Phantsure
Copy link
Contributor

This branch has changes related to compression on windows. Add

  1. Change default archiver to GNU tar and compression algorithm to zstd on windows
  2. Allowed fallback to BSD tar and zstd in case GNU tar is not present in path or at default location on windows.
  3. Allowed fallback to old caching archiving-compression algorithm, i.e. BSD tar and gzip if old cache on windows is found.

@Phantsure Phantsure marked this pull request as ready for review December 22, 2022 07:39
@Phantsure Phantsure requested review from a team as code owners December 22, 2022 07:39
@Phantsure Phantsure force-pushed the phantsure/compression-changes-release branch from 58f03e1 to 00f4563 Compare December 22, 2022 12:41
Copy link
Contributor

@lvpx lvpx left a comment

Choose a reason for hiding this comment

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

LGTM

@Phantsure Phantsure force-pushed the phantsure/compression-changes-release branch from 00f4563 to c76b5b3 Compare December 22, 2022 12:55
@Phantsure Phantsure merged commit b228732 into main Dec 22, 2022
@blaggacao
Copy link

blaggacao commented Dec 23, 2022

Does this PR mean that the following cache keys:

    path: |
      /nix
      /guix

Are now restored to GITHUB_WORKSPACE and we need to post-process to move it into the right place?

post-process

That would be quite costly. ⌛

See also: #1253

Phantsure added a commit that referenced this pull request Dec 27, 2022
Phantsure added a commit that referenced this pull request Dec 27, 2022
* Revert "Cache package release for compression change in windows (#1281)"

This reverts commit b228732.

* Update release version to patch
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.

3 participants