From b246a7c7c9b755cfa4aed64d305f864752e8da04 Mon Sep 17 00:00:00 2001 From: Kevin Li Date: Thu, 12 Oct 2023 14:09:10 -0700 Subject: [PATCH] Test signing Signed-off-by: Kevin Li --- .github/workflows/build-and-test-pkg.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-and-test-pkg.yaml b/.github/workflows/build-and-test-pkg.yaml index b59bb4138..f2a9b16ed 100644 --- a/.github/workflows/build-and-test-pkg.yaml +++ b/.github/workflows/build-and-test-pkg.yaml @@ -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 }} @@ -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++