Skip to content

Commit 178c502

Browse files
rami3lChrisDenton
authored andcommitted
ci(windows): don't install awscli via choco
1 parent b2622d6 commit 178c502

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,11 @@ jobs:
146146
path: |
147147
target/${{ matrix.target }}/release/rustup-init.exe
148148
retention-days: 7
149-
- name: Acquire the AWS tooling
149+
- name: Ensure that awscli is installed
150150
if: github.event_name == 'push' && matrix.mode == 'release' && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master')
151151
run: |
152-
choco upgrade awscli
152+
Get-Command aws
153+
aws --version
153154
- name: Prepare the dist
154155
if: github.event_name == 'push' && matrix.mode == 'release' && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master')
155156
run: |
@@ -309,10 +310,11 @@ jobs:
309310
path: |
310311
target/${{ matrix.target }}/release/rustup-init.exe
311312
retention-days: 7
312-
- name: Acquire the AWS tooling
313+
- name: Ensure that awscli is installed
313314
if: github.event_name == 'push' && matrix.mode == 'release' && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master')
314315
run: |
315-
choco upgrade awscli
316+
Get-Command aws
317+
aws --version
316318
- name: Prepare the dist
317319
if: github.event_name == 'push' && matrix.mode == 'release' && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master')
318320
run: |
@@ -478,10 +480,11 @@ jobs:
478480
path: |
479481
target/${{ matrix.target }}/release/rustup-init.exe
480482
retention-days: 7
481-
- name: Acquire the AWS tooling
483+
- name: Ensure that awscli is installed
482484
if: github.event_name == 'push' && matrix.mode == 'release' && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master')
483485
run: |
484-
choco upgrade awscli
486+
Get-Command aws
487+
aws --version
485488
- name: Prepare the dist
486489
if: github.event_name == 'push' && matrix.mode == 'release' && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master')
487490
run: |

ci/actions-templates/windows-builds-template.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,11 @@ jobs: # skip-master skip-pr skip-stable
139139
path: |
140140
target/${{ matrix.target }}/release/rustup-init.exe
141141
retention-days: 7
142-
- name: Acquire the AWS tooling
142+
- name: Ensure that awscli is installed
143143
if: github.event_name == 'push' && matrix.mode == 'release' && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master')
144144
run: |
145-
choco upgrade awscli
145+
Get-Command aws
146+
aws --version
146147
- name: Prepare the dist
147148
if: github.event_name == 'push' && matrix.mode == 'release' && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master')
148149
run: |

0 commit comments

Comments
 (0)