Closed mkkeems closed 10 months ago
Ahh, the issue was not with aws-actions/setup-sam@v2.
After updating the following actions, I was able to successfully deploy the sam-app via github actions with runtime set to nodejs20.x
...
steps:
- uses: actions/checkout@v4
- uses: aws-actions/setup-sam@v2
with:
use-installer: true
- run: sam build --template ${SAM_TEMPLATE} --use-container
- name: Assume the dev pipeline user role
uses: aws-actions/configure-aws-credentials@v4
...
Cheers! 😄
@ssenchenko
With the new version of sam-cli pulled on my local machine, i'm able to successfully build sam apps with runtime set to nodejs20.x
However, the issue i'm having is when i try to deploy the sam app with github actions. Here is a bit of the github workflow pipline.yaml I have:
..and so on. This is where i get the error in github actions:
How should i update the
.github/workflows/pipeline.yaml
file in order for the sam app to be successfully built when the runtime is set tonodejs20.x
in the template.yaml?