Created
November 6, 2020 14:03
-
-
Save virtualhobbit/5dfd10c29fb5485b5e909633a252cece to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
get_packer: | |
stage: get | |
tags: | |
- windows | |
artifacts: | |
paths: | |
- packer.exe | |
script: | |
- Write-Host "Fetching packer" | |
- $packerFile = "packer_" + $packerVersion + "_windows_amd64.zip" | |
- Invoke-WebRequest -Uri ($packerURL + "/" + $packerVersion + "/" + $packerFile) -OutFile $packerFile | |
- Expand-Archive $packerFile -DestinationPath . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment