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 c671d10 commit b246a7c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build-and-test-pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install awscli
- name: Validate aws CLI
run: |
aws --version
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
ref: ${{ needs.get-tag-name.outputs.tag }}
Expand Down Expand Up @@ -112,8 +109,8 @@ jobs:
while ($retryCount -lt $maxRetries) {
try {
Start-Sleep -Seconds $delay
signed_msi=$(aws s3 ls ${{ secrets.WINDOWS_SIGNED_BUCKET }} | grep Finch-$version.msi | sort -r | head -n 1 | awk '{print $4}')
aws s3 cp "${{ secrets.WINDOWS_SIGNED_BUCKET }}$signed_msi" "./msi-builder/build/signed/Finch-$version.msi"
$signedMSI=$(aws s3 ls ${{ secrets.WINDOWS_SIGNED_BUCKET }} | grep "Finch-$version.msi" | sort -r | head -n 1 | awk '{print $4}')
aws s3 cp "${{ secrets.WINDOWS_SIGNED_BUCKET }}$signedMSI" "./msi-builder/build/signed/Finch-$version.msi"
break
} catch {
$retryCount++
Expand Down

0 comments on commit b246a7c

Please sign in to comment.