From d89b7842e21a2870953b99b28028ad788c862bd5 Mon Sep 17 00:00:00 2001 From: Michael Seele Date: Mon, 11 May 2026 13:52:20 +0000 Subject: [PATCH] fix: install AWS CLI if not present before publishing assets Co-authored-by: Copilot --- publish-static-contents/action.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/publish-static-contents/action.yml b/publish-static-contents/action.yml index f1ed672..6d7341d 100644 --- a/publish-static-contents/action.yml +++ b/publish-static-contents/action.yml @@ -21,6 +21,16 @@ inputs: runs: using: composite steps: + - name: Install AWS CLI + shell: bash + run: | + if ! command -v aws &> /dev/null; then + curl -fsSL "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o /tmp/awscliv2.zip + unzip -q /tmp/awscliv2.zip -d /tmp + sudo /tmp/aws/install + rm -rf /tmp/awscliv2.zip /tmp/aws + fi + - name: Publish frontend assets shell: bash env: