Skip to content

Commit

Permalink
Updated to use pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
jbristowe committed Nov 19, 2020
1 parent 85902e5 commit e0a2476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Create-ApiKey.ps1
Expand Up @@ -22,4 +22,4 @@ $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 "OCTOPUS_APIKEY=$($ApiObj.ApiKey) >> $GITHUB_ENV"
Write-Host "OCTOPUS_APIKEY=$($ApiObj.ApiKey)" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append

0 comments on commit e0a2476

Please sign in to comment.