Move scripts out of the workflow itself
Some checks failed
Some checks failed
This commit is contained in:
7
script/vault-install.ps1
Executable file
7
script/vault-install.ps1
Executable file
@@ -0,0 +1,7 @@
|
||||
$vaultVersion = "1.20.3"
|
||||
$vaultUrl = "https://releases.hashicorp.com/vault/$vaultVersion/vault_${vaultVersion}_windows_amd64.zip"
|
||||
Write-Output "🌍 Downloading Vault ${vaultVersion}"
|
||||
Invoke-WebRequest -Uri $vaultUrl -OutFile "vault.zip"
|
||||
Write-Output "⚡️ Extracting vault_${vaultVersion}_windows_amd64.zip"
|
||||
Expand-Archive -Path "vault.zip" -DestinationPath .
|
||||
& "./vault.exe" version
|
Reference in New Issue
Block a user