From ea9dd2728af7f159e211672b19114e26eb895c14 Mon Sep 17 00:00:00 2001 From: Andrew Date: Sat, 15 Mar 2025 01:34:10 +0000 Subject: [PATCH] [workflows]: Just update AWS CLI --- .github/workflows/ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3997182..97dd5c2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,12 +79,15 @@ jobs: with: python-version: '3.13' - # ✅ Correct AWS CLI installation - - name: Install AWS CLI (Official AWS Method) + # ✅ Check if AWS CLI is installed and update it instead of reinstalling + - name: Check AWS CLI version + run: aws --version || echo "AWS CLI not found" + + - name: Update AWS CLI run: | curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" - unzip awscliv2.zip - sudo ./aws/install + unzip -o awscliv2.zip + sudo ./aws/install --update - name: Verify AWS CLI installation run: aws --version