Skip to content

Commit a8e4f5c

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

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/ci.yaml

+9-9
Original file line numberDiff line numberDiff line change
@@ -565,11 +565,11 @@ jobs:
565565
path: |
566566
target/${{ matrix.target }}/release/rustup-init
567567
retention-days: 7
568-
- name: Acquire the AWS tooling
568+
- name: Ensure that awscli is installed
569569
if: github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
570570
run: |
571-
pip3 install -U setuptools
572-
pip3 install awscli
571+
which aws
572+
aws --version
573573
- name: Prepare the dist
574574
if: github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
575575
run: |
@@ -714,11 +714,11 @@ jobs:
714714
path: |
715715
target/${{ matrix.target }}/release/rustup-init
716716
retention-days: 7
717-
- name: Acquire the AWS tooling
717+
- name: Ensure that awscli is installed
718718
if: github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
719719
run: |
720-
pip3 install -U setuptools
721-
pip3 install awscli
720+
which aws
721+
aws --version
722722
- name: Prepare the dist
723723
if: github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
724724
run: |
@@ -885,11 +885,11 @@ jobs:
885885
path: |
886886
target/${{ matrix.target }}/release/rustup-init
887887
retention-days: 7
888-
- name: Acquire the AWS tooling
888+
- name: Ensure that awscli is installed
889889
if: github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
890890
run: |
891-
pip3 install -U setuptools
892-
pip3 install awscli
891+
which aws
892+
aws --version
893893
- name: Prepare the dist
894894
if: github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
895895
run: |

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,11 @@ jobs: # skip-master skip-pr skip-stable
153153
path: |
154154
target/${{ matrix.target }}/release/rustup-init
155155
retention-days: 7
156-
- name: Acquire the AWS tooling
156+
- name: Ensure that awscli is installed
157157
if: github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
158158
run: |
159-
pip3 install -U setuptools
160-
pip3 install awscli
159+
which aws
160+
aws --version
161161
- name: Prepare the dist
162162
if: github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
163163
run: |

0 commit comments

Comments
 (0)