From e448fe1087926ccfdd6f7d8b1cfbc5ff85c41da6 Mon Sep 17 00:00:00 2001 From: Hidetake Iwata Date: Tue, 21 Jan 2025 10:48:24 +0900 Subject: [PATCH] Skip installation if aws command is available --- action.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/action.yaml b/action.yaml index 3e3a9eb..adfa1b0 100644 --- a/action.yaml +++ b/action.yaml @@ -7,6 +7,9 @@ runs: - shell: bash run: | set -eux + if aws --version; then + exit + fi cd "$(mktemp -d)" curl -sf "https://awscli.amazonaws.com/awscli-exe-linux-$(uname -m).zip" -o awscliv2.zip unzip -q awscliv2.zip