File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change 1
1
2
- name : Java CI with AWS SAM
2
+ name : Build AWS SAM Container
3
3
4
4
on :
5
5
push :
6
6
branches : [ "main" ]
7
7
pull_request :
8
8
branches : [ "main" ]
9
9
10
- permissions :
11
- id-token : write # This is required for requesting the JWT
12
- contents : read # This is required for actions/checkout
13
10
14
11
jobs :
15
12
build :
16
-
13
+ environment : build
17
14
runs-on : ubuntu-latest
18
15
19
16
steps :
30
27
- name : Build inside Docker containers
31
28
run : sam build --use-container
32
29
33
- # - name: Setup AWS Creds
34
- # uses: aws-actions/configure-aws-credentials@v4
35
- # with:
36
- # aws-region: us-east-1
37
- # role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
38
-
39
- # - name: Prevent prompts and failure when the stack is unchanged
40
- # run: sam deploy --no-confirm-changeset --no-fail-on-empty-changeset
41
30
42
31
You can’t perform that action at this time.
0 commit comments