Skip to content

Commit

Permalink
update the installation of aws cli v2 in the actions
Browse files Browse the repository at this point in the history
  • Loading branch information
wenh06 committed Aug 31, 2024
1 parent 1553719 commit fa1c372
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 15 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/run-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,10 @@ jobs:
python -m pip install -e .[dev]
python -m pip freeze
- name: Install aws cli v2
run: |
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
aws --version
uses: unfor19/install-aws-cli-action@v1
with:
version: 2
verbose: true
- name: List installed Python packages
run: |
python -m pip list
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/test-databases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,10 @@ jobs:
python -m pip install -e .[dev]
python -m pip freeze
- name: Install aws cli v2
run: |
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
aws --version
uses: unfor19/install-aws-cli-action@v1
with:
version: 2
verbose: true
- name: List installed Python packages
run: |
python -m pip list
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/test-ppl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,10 @@ jobs:
python -m pip install -e .[dev]
python -m pip freeze
- name: Install aws cli v2
run: |
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
aws --version
uses: unfor19/install-aws-cli-action@v1
with:
version: 2
verbose: true
- name: List installed Python packages
run: |
python -m pip list
Expand Down

0 comments on commit fa1c372

Please sign in to comment.