From f66d2e7f318b552e65c689c7670476f76b6c577c Mon Sep 17 00:00:00 2001 From: Pete Freitag Date: Tue, 21 May 2024 11:20:54 -0400 Subject: [PATCH] Use AWS action for installing sam cli instead of homebrew --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4cc509b..26e776d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,10 +19,12 @@ jobs: with: distribution: corretto java-version: 11 + - name: Setup aws-sam-cli + uses: aws-actions/setup-sam@v2 + with: + use-installer: true - name: test run: | - brew tap aws/tap - brew install aws-sam-cli sam --version chmod +x ./test.sh export AWS_ACCESS_KEY_ID=EMPTY