Skip to content

Commit 239902c

Browse files
committed
fix(ci/macos): don't use pip3 to install awscli
1 parent 4cf9e1f commit 239902c

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -995,10 +995,11 @@ jobs:
995995
path: |
996996
target/${{ matrix.target }}/release/rustup-init
997997
retention-days: 7
998-
- name: Acquire the AWS tooling
998+
- name: Ensure that awscli is installed
999999
if: github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
10001000
run: |
1001-
pip3 install awscli
1001+
which aws
1002+
aws --version
10021003
- name: Prepare the dist
10031004
if: github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
10041005
run: |
@@ -1110,10 +1111,11 @@ jobs:
11101111
path: |
11111112
target/${{ matrix.target }}/release/rustup-init
11121113
retention-days: 7
1113-
- name: Acquire the AWS tooling
1114+
- name: Ensure that awscli is installed
11141115
if: github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
11151116
run: |
1116-
pip3 install awscli
1117+
which aws
1118+
aws --version
11171119
- name: Prepare the dist
11181120
if: github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
11191121
run: |

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,11 @@ jobs: # skip-x86_64 skip-aarch64
9393
path: |
9494
target/${{ matrix.target }}/release/rustup-init
9595
retention-days: 7
96-
- name: Acquire the AWS tooling
96+
- name: Ensure that awscli is installed
9797
if: github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
9898
run: |
99-
pip3 install awscli
99+
which aws
100+
aws --version
100101
- name: Prepare the dist
101102
if: github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
102103
run: |

0 commit comments

Comments
 (0)