diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 71c0ad3744..c1c3bf6567 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -146,10 +146,11 @@ jobs: path: | target/${{ matrix.target }}/release/rustup-init.exe retention-days: 7 - - name: Acquire the AWS tooling + - name: Ensure that awscli is installed if: github.event_name == 'push' && matrix.mode == 'release' && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master') run: | - choco upgrade awscli + Get-Command aws + aws --version - name: Prepare the dist if: github.event_name == 'push' && matrix.mode == 'release' && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master') run: | @@ -309,10 +310,11 @@ jobs: path: | target/${{ matrix.target }}/release/rustup-init.exe retention-days: 7 - - name: Acquire the AWS tooling + - name: Ensure that awscli is installed if: github.event_name == 'push' && matrix.mode == 'release' && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master') run: | - choco upgrade awscli + Get-Command aws + aws --version - name: Prepare the dist if: github.event_name == 'push' && matrix.mode == 'release' && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master') run: | @@ -478,10 +480,11 @@ jobs: path: | target/${{ matrix.target }}/release/rustup-init.exe retention-days: 7 - - name: Acquire the AWS tooling + - name: Ensure that awscli is installed if: github.event_name == 'push' && matrix.mode == 'release' && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master') run: | - choco upgrade awscli + Get-Command aws + aws --version - name: Prepare the dist if: github.event_name == 'push' && matrix.mode == 'release' && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master') run: | diff --git a/ci/actions-templates/windows-builds-template.yaml b/ci/actions-templates/windows-builds-template.yaml index bceb0134db..a8560ed053 100644 --- a/ci/actions-templates/windows-builds-template.yaml +++ b/ci/actions-templates/windows-builds-template.yaml @@ -139,10 +139,11 @@ jobs: # skip-master skip-pr skip-stable path: | target/${{ matrix.target }}/release/rustup-init.exe retention-days: 7 - - name: Acquire the AWS tooling + - name: Ensure that awscli is installed if: github.event_name == 'push' && matrix.mode == 'release' && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master') run: | - choco upgrade awscli + Get-Command aws + aws --version - name: Prepare the dist if: github.event_name == 'push' && matrix.mode == 'release' && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master') run: |