Skip to content

Commit 0e862a3

Browse files
ci: test-and-deploy: Add awscli
The action runs in a self-hosted, so we need to install it Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
1 parent ed50583 commit 0e862a3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/test-and-deploy.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,13 @@ jobs:
342342
echo "ASSET_NAME_SUFFIX=-pi4" >> $GITHUB_ENV
343343
fi
344344
345+
- name: Install pip and AWS CLI via pip
346+
if: startsWith(github.ref, 'refs/tags/')
347+
run: |
348+
sudo apt update
349+
sudo apt install -y python3-pip
350+
pip3 install awscli --break-system-packages
351+
345352
- name: Configure AWS credentials
346353
uses: aws-actions/configure-aws-credentials@v4
347354
if: startsWith(github.ref, 'refs/tags/')

0 commit comments

Comments
 (0)