From 5a8e4cb817ba20e36aa871fcde4ef9461a3cc1e7 Mon Sep 17 00:00:00 2001 From: Vladimir Sumarov Date: Thu, 26 Oct 2023 15:00:49 -0700 Subject: [PATCH] workaround for aws cli --- .github/workflows/build.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bc5b1ec..ccbcf1b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -69,6 +69,20 @@ jobs: runs-on: windows-latest if: startsWith(github.ref, 'refs/tags/') steps: + - name: Get the version of aws cli + run: aws --version + shell: powershell + - name: Install specific version of AWS CLI + run: | + $version = "2.13.24" + $zipfile = "AWSCLIV2.zip" + Invoke-WebRequest -OutFile $zipfile "https://awscli.amazonaws.com/AWSCLIV2-$version.msi" + Start-Process msiexec.exe -Wait -ArgumentList "/i $zipfile /qn" + rm $zipfile + shell: pwsh + - name: Get the version of aws cli after install + run: aws --version + shell: powershell - name: Get build from cache id: cache-check uses: actions/cache@v3