Skip to content

Commit 85d9731

Browse files
committed
fix(ci): fix lambda-adapter permissions and add deno setup in examples workflow
1 parent 11234b2 commit 85d9731

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

‎.github/workflows/examples.yaml‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ jobs:
113113

114114
- name: Build local adapter image
115115
run: |
116-
printf 'FROM scratch\nCOPY lambda-adapter /lambda-adapter\n' | \
116+
chmod +x /tmp/layer-x86_64/lambda-adapter
117+
printf 'FROM scratch\nCOPY --chmod=755 lambda-adapter /lambda-adapter\n' | \
117118
docker build -t public.ecr.aws/awsguru/aws-lambda-adapter:1.0.0-rc1 -f- /tmp/layer-x86_64
118119
119120
- name: Build
@@ -188,6 +189,11 @@ jobs:
188189
use-installer: true
189190
token: ${{ secrets.GITHUB_TOKEN }}
190191

192+
- uses: denoland/setup-deno@v2
193+
if: matrix.example == 'deno-zip'
194+
with:
195+
deno-version: v2.x
196+
191197
- uses: actions/download-artifact@v4
192198
with:
193199
name: layer-x86_64

0 commit comments

Comments
 (0)