Skip to content

Commit

Permalink
.github: hardcode aws cli version
Browse files Browse the repository at this point in the history
closes nspcc-dev/s3-tests#80

Signed-off-by: Evgeniy Zayats <[email protected]>
  • Loading branch information
Evgeniy Zayats committed Jan 23, 2025
1 parent c163d4f commit 5974e95
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/s3-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,21 @@ jobs:
TIMESTAMP: ${{ steps.date.outputs.timestamp }}
run: echo "RUN_ID=${{ github.run_number }}-$TIMESTAMP" >> $GITHUB_ENV

- name: Remove existing AWS CLI
run: |
sudo rm -rf /usr/local/aws-cli
sudo rm /usr/local/bin/aws
- name: Install AWS CLI 2.22.35 on Linux
run: |
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.22.35.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
rm -rf aws awscliv2.zip
- name: Verify AWS CLI version
run: aws --version

- name: Checkout s3-tests repository
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 5974e95

Please sign in to comment.