Skip to content

Commit 331ccbb

Browse files
committed
fixup! fixup! fixup! fix(ci): use brew to install awscli on macOS runners
1 parent 662dd07 commit 331ccbb

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -926,12 +926,11 @@ jobs:
926926
# v2 defaults to a shallow checkout, but we need at least to the previous tag
927927
fetch-depth: 0
928928
# TODO: Remove me
929-
- name: Acquire the AWS tooling
929+
- name: Ensure we have installed awscli
930930
run: |
931-
brew install awscli@1
932931
which aws
933932
aws --version
934-
aws s3 cp --help
933+
aws s3 cp help
935934
- name: Acquire tags for the repo
936935
run: |
937936
git fetch --no-tags --prune --depth=1 origin +refs/tags/*:refs/tags/*
@@ -1048,12 +1047,11 @@ jobs:
10481047
# v2 defaults to a shallow checkout, but we need at least to the previous tag
10491048
fetch-depth: 0
10501049
# TODO: Remove me
1051-
- name: Acquire the AWS tooling
1050+
- name: Ensure we have installed awscli
10521051
run: |
1053-
brew install awscli@1
10541052
which aws
10551053
aws --version
1056-
aws s3 cp --help
1054+
aws s3 cp help
10571055
- name: Acquire tags for the repo
10581056
run: |
10591057
git fetch --no-tags --prune --depth=1 origin +refs/tags/*:refs/tags/*

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,11 @@ jobs: # skip-x86_64 skip-aarch64
2424
# v2 defaults to a shallow checkout, but we need at least to the previous tag
2525
fetch-depth: 0
2626
# TODO: Remove me
27-
- name: Acquire the AWS tooling
27+
- name: Ensure we have installed awscli
2828
run: |
29-
brew install awscli@1
3029
which aws
3130
aws --version
32-
aws s3 cp --help
31+
aws s3 cp help
3332
- name: Acquire tags for the repo
3433
run: |
3534
git fetch --no-tags --prune --depth=1 origin +refs/tags/*:refs/tags/*

0 commit comments

Comments
 (0)