Skip to content

Commit

Permalink
ci(windows): don't install awscli via choco
Browse files Browse the repository at this point in the history
  • Loading branch information
rami3l committed Dec 12, 2024
1 parent b2622d6 commit 6730119
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -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: |
Expand Down
5 changes: 3 additions & 2 deletions ci/actions-templates/windows-builds-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 6730119

Please sign in to comment.