Skip to content

Commit

Permalink
Test signing
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Li <[email protected]>
  • Loading branch information
KevinLiAWS committed Oct 12, 2023
1 parent b246a7c commit b7341f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test-pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
while ($retryCount -lt $maxRetries) {
try {
Start-Sleep -Seconds $delay
$signedMSI=$(aws s3 ls ${{ secrets.WINDOWS_SIGNED_BUCKET }} | grep "Finch-$version.msi" | sort -r | head -n 1 | awk '{print $4}')
$signedMSI = aws s3 ls ${{ secrets.WINDOWS_SIGNED_BUCKET }} | Where-Object { $_ -match "Finch-$version.msi" } | Sort-Object -Descending | Select-Object -First 1 | ForEach-Object { ($_ -split '\s+')[-1] }
aws s3 cp "${{ secrets.WINDOWS_SIGNED_BUCKET }}$signedMSI" "./msi-builder/build/signed/Finch-$version.msi"
break
} catch {
Expand Down

0 comments on commit b7341f3

Please sign in to comment.