Skip to content

Commit 3820fbc

Browse files
authored
Update to ChrisCoffee SAM Action
1 parent 8f46ee8 commit 3820fbc

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

‎.github/workflows/main.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,14 @@ jobs:
3636
USER_BASE_PATH=$(python -m site --user-base)
3737
export PATH=$PATH:$USER_BASE_PATH/bin
3838
- name: Build SAM Package
39-
run: |
40-
sam build -t .sam/transform.yaml -m ./requirements.txt -b ./build -s .
39+
uses: chriscoffee/sam-github-actions@master
40+
env:
41+
AWS_ACCESS_KEY_ID: ''
42+
AWS_SECRET_ACCESS_KEY: ''
43+
AWS_DEFAULT_REGION: ap-southeast-2
44+
S3_BUCKET: ''
45+
with:
46+
args: build -t .sam/transform.yaml -m ./requirements.txt -b ./build -s .
4147
- name: ZIP SAM Package
4248
working-directory: ./build
4349
run: |

0 commit comments

Comments
 (0)