Skip to content

Commit

Permalink
chore: remove installation of awscli in workflows (#3162)
Browse files Browse the repository at this point in the history
* chore: remove installation of awscli in pack-upload and promote workflows

* chore: remove awscli install from two more workflows
  • Loading branch information
k80bowman authored Jan 7, 2025
1 parent 29b9580 commit 7ec18c8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/cache-invalidation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,5 @@ jobs:
AWS_EC2_METADATA_DISABLED: true
steps:
- uses: actions/checkout@v4
- run: |
sudo apt-get update
sudo apt-get install -y awscli
aws configure set preview.cloudfront true
- run: aws configure set preview.cloudfront true
- run: ./scripts/postrelease/invalidate_cdn_cache
5 changes: 1 addition & 4 deletions .github/workflows/pack-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,11 @@ jobs:
- name: List all the downloaded files (for debugging)
run: ls -R
working-directory: /home/runner/work/cli/cli/packages/cli/dist
- run: |
sudo apt-get update
sudo apt-get install -y awscli
- name: yarn install
run: yarn --immutable --network-timeout 1000000
- name: Upload production artifacts
run: |
cd packages/cli
pwd
yarn oclif upload tarballs
./scripts/upload/deb
./scripts/upload/deb
2 changes: 1 addition & 1 deletion .github/workflows/promote-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: install apt-get dependencies
run: |
sudo apt-get update
sudo apt-get install -y awscli jq
sudo apt-get install -y jq
- name: promote
env:
prerelease-channel: ${{ inputs.channel || 'beta'}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- name: install apt-get dependencies
run: |
sudo apt-get update
sudo apt-get install -y awscli jq
sudo apt-get install -y jq
- name: promote
env:
prerelease-channel: ${{ inputs.channel || 'beta'}}
Expand Down

0 comments on commit 7ec18c8

Please sign in to comment.