Skip to content

Commit 8c2e436

Browse files
committed
sam
1 parent 822f839 commit 8c2e436

File tree

4 files changed

+18
-1
lines changed

4 files changed

+18
-1
lines changed

.github/workflows/on-merge-to-main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ jobs:
3939
# the dependencies in a separate step
4040
working-directory: ./examples/cdk
4141
run: npm ci
42+
- name: "Setup SAM"
43+
# We use an ad-hoc action so we can specify the SAM CLI version
44+
uses: aws-actions/setup-sam@v2
45+
with:
46+
version: 1.49.0
4247
- name: Install SAM example packages
4348
# Since we are not managing the SAM examples with npm workspaces we install
4449
# the dependencies in a separate step

.github/workflows/on-release-prod.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ jobs:
3939
# the dependencies in a separate step
4040
working-directory: ./examples/cdk
4141
run: npm ci
42+
- name: "Setup SAM"
43+
# We use an ad-hoc action so we can specify the SAM CLI version
44+
uses: aws-actions/setup-sam@v2
45+
with:
46+
version: 1.49.0
4247
- name: Install SAM example packages
4348
# Since we are not managing the SAM examples with npm workspaces we install
4449
# the dependencies in a separate step

.github/workflows/pr_lint_and_test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@ jobs:
2727
# the dependencies in a separate step
2828
working-directory: ./examples/cdk
2929
run: npm ci
30-
- name: "Install SAM example packages"
30+
- name: "Setup SAM"
31+
# We use an ad-hoc action so we can specify the SAM CLI version
3132
uses: aws-actions/setup-sam@v2
3233
with:
3334
version: 1.49.0
35+
- name: Install SAM example packages
3436
# Since we are not managing the SAM examples with npm workspaces we install
3537
# the dependencies in a separate step
3638
working-directory: ./examples/sam

.github/workflows/run-e2e-tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ jobs:
2424
# the dependencies in a separate step
2525
working-directory: ./examples/cdk
2626
run: npm ci
27+
- name: "Setup SAM"
28+
# We use an ad-hoc action so we can specify the SAM CLI version
29+
uses: aws-actions/setup-sam@v2
30+
with:
31+
version: 1.49.0
2732
- name: Install SAM example packages
2833
# Since we are not managing the SAM examples with npm workspaces we install
2934
# the dependencies in a separate step

0 commit comments

Comments
 (0)