Skip to content

Commit

Permalink
installation awscli
Browse files Browse the repository at this point in the history
  • Loading branch information
yyoshiki41 committed Mar 27, 2022
1 parent 197fee4 commit 8b16a43
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,12 @@ runs:
- name: Install AWS CLI
shell: bash
run: |
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install --update
awscli --version
if ! [ -x "$(command -v aws)" ]; then
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install --update
awscli --version
fi
- name: Register ECS task definition
shell: bash
Expand Down

0 comments on commit 8b16a43

Please sign in to comment.