Skip to content

Commit

Permalink
Replaced set-env due to security vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
jbristowe committed Nov 18, 2020
1 parent 713c21c commit e5dfb75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Create-ApiKey.ps1
Expand Up @@ -22,4 +22,5 @@ $ApiObj = $repository.Users.CreateApiKey($UserObj, "go-octopusdeploy tests")
#Save the API key so we can use it later
Set-Content -Path tests\octopus_api.txt -Value $ApiObj.ApiKey

Write-Host "::set-env name=OCTOPUS_APIKEY::$($ApiObj.ApiKey)"
#Write-Host "::set-env name=OCTOPUS_APIKEY::$($ApiObj.ApiKey)"
Write-Host "OCTOPUS_APIKEY=$($ApiObj.ApiKey) >> $GITHUB_ENV"

0 comments on commit e5dfb75

Please sign in to comment.