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

enforce .zip extension on download item #170

Merged
merged 3 commits into from
Mar 10, 2023
Merged

Conversation

dzsquared
Copy link
Collaborator

A number of environment variations for Windows runners leads to fractured pathways to unzip go-sqlcmd: https://github.com/actions/toolkit/blob/1f4b3fac06b689186037c0a52e1e876e18de521d/packages/tool-cache/src/tool-cache.ts#L354

As a result, the upstream has a few open issues related to unzip on Windows:

By enforcing the zip extension for the temporary file on Windows, we're guaranteeing that the unzip option works regardless of PS and .NET versions.

Fixes #149

src/Setup.ts Show resolved Hide resolved
@dzsquared dzsquared temporarily deployed to Automation test March 10, 2023 22:04 — with GitHub Actions Inactive
@dzsquared dzsquared temporarily deployed to Automation test March 10, 2023 22:04 — with GitHub Actions Inactive
@dzsquared dzsquared temporarily deployed to Automation test March 10, 2023 22:04 — with GitHub Actions Inactive
@dzsquared dzsquared temporarily deployed to Automation test March 10, 2023 22:04 — with GitHub Actions Inactive
@dzsquared dzsquared temporarily deployed to Automation test March 10, 2023 22:04 — with GitHub Actions Inactive
@dzsquared dzsquared temporarily deployed to Automation test March 10, 2023 22:04 — with GitHub Actions Inactive
@dzsquared dzsquared merged commit 21f0f73 into master Mar 10, 2023
@dzsquared dzsquared deleted the drskwier/windows-zip-fix branch March 10, 2023 22:28
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.

Expand-Archive : is not a supported archive file format. .zip is the only supported archive file format.
2 participants