Skip to content

Commit 8dc6b50

Browse files
authored
Merge pull request #3069 from aws-observability/setenv
Set Env and display aws version at the time of signing for visibility
2 parents cf0194e + 241bb50 commit 8dc6b50

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,9 @@ jobs:
243243
for ($num = 1 ; $num -le 60 ; $num++) { # 60 * 10 = 600s = 10min timeout
244244
Start-Sleep -s 10
245245
Write-Output "Poll number $num"
246+
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine")
247+
cmd /c where aws
248+
aws --version
246249
$objkey = aws s3api list-objects "--bucket" ${{ env.WIN_SIGNED_PKG_BUCKET }} "--prefix" ${{ env.WIN_SIGNED_PKG_FOLDER }}/aws-otel-collector-$hash.msi "--output" text "--query" "Contents[?LastModified>'$create_date'].Key|[0]"
247250
if ($objkey -ne "None") {
248251
Write-Output "Found: $objkey"

0 commit comments

Comments
 (0)