From 7b99887554b55fa729e2e19bd2f88e641bffbf1a Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Mon, 22 Apr 2024 15:33:43 +0800 Subject: [PATCH] chore: refactor GitHub Actions and Test Configurations - Update the `appleboy/lambda-action` GitHub action version from `v0.1.9` to `v0.2.0` in multiple job definitions within the README.md file. Signed-off-by: Bo-Yi Wu --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bf7065a..2477d41 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ jobs: run: | cd example && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -v -a -o main main.go && zip deployment.zip main - name: default deploy - uses: appleboy/lambda-action@v0.1.9 + uses: appleboy/lambda-action@v0.2.0 with: aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -58,7 +58,7 @@ jobs: - name: checkout source code uses: actions/checkout@v3 - name: default deploy - uses: appleboy/lambda-action@v0.1.9 + uses: appleboy/lambda-action@v0.2.0 with: aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -80,7 +80,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: AWS Lambda Deploy - uses: appleboy/lambda-action@v0.1.9 + uses: appleboy/lambda-action@v0.2.0 with: aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -104,7 +104,7 @@ jobs: - uses: actions/checkout@v3 - name: AWS Lambda Deploy if: github.ref == 'refs/heads/master' - uses: appleboy/lambda-action@v0.1.9 + uses: appleboy/lambda-action@v0.2.0 with: aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -128,7 +128,7 @@ jobs: - uses: actions/checkout@v3 - name: AWS Lambda Deploy if: github.ref == 'refs/heads/master' - uses: appleboy/lambda-action@v0.1.9 + uses: appleboy/lambda-action@v0.2.0 with: aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}