Skip to content

Conversation

@cory-miller
Copy link
Contributor

@cory-miller cory-miller commented May 16, 2024

After updating the NPM dependencies, archive based checkouts were broken on Windows machines that do not have Git.exe in a location that actions/checkout understands.

This is because @actions/tool-cache was updated with a Powershell command Expand-Archive. This command explicitly checks the file name includes the .zip extension a the end. For whatever reason, actions/checkout was writing the extension as .gz regardless of the compression format used.

Before:

Screenshot 2024-05-16 at 1 32 25 PM

After:

Screenshot 2024-05-16 at 1 33 12 PM

#1721

@cory-miller cory-miller merged commit 24ed1a3 into main May 16, 2024
@cory-miller cory-miller deleted the users/cory-miller/windows-test branch May 16, 2024 17:40
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