mirror of
https://github.com/hashicorp/setup-terraform.git
synced 2025-12-15 16:12:35 +00:00
Fix terraform extract (#187)
On Windows runners, extracting the downloaded CLI zip file was failing because the file didn't have a .zip extension. This commit attempts to solve the problem by adding the extension to the downloaded file before extraction.
This commit is contained in:
parent
8b4c280fc8
commit
8aaee7fab8
3 changed files with 26 additions and 2 deletions
|
|
@ -94,6 +94,8 @@ describe('Setup Terraform', () => {
|
|||
.fn()
|
||||
.mockReturnValueOnce('file.zip');
|
||||
|
||||
io.mv = jest.fn();
|
||||
|
||||
tc.extractZip = jest
|
||||
.fn()
|
||||
.mockReturnValueOnce('file');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue