Skip to content

Commit 09d20a3

Browse files
author
Fabiana Severin
committed
Fixing build on codebuild
1 parent 3bcd7ea commit 09d20a3

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/build-and-release.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@ on:
88
branches: [ main ]
99
workflow_dispatch:
1010

11+
permissions:
12+
id-token: write
13+
contents: read
14+
1115
jobs:
1216
build:
13-
runs-on: [self-hosted, project-awsaws-lambda-nodejs-runtime-interface-client]
17+
runs-on: codebuild-containerized-test-runner-for-aws-lambda-${{ github.run_id }}-${{ github.run_attempt }}
1418
timeout-minutes: 15
1519
outputs:
1620
version: ${{ steps.version.outputs.version }}
@@ -57,7 +61,7 @@ jobs:
5761
retention-days: 30
5862

5963
test:
60-
runs-on: [self-hosted, project-awsaws-lambda-nodejs-runtime-interface-client]
64+
runs-on: codebuild-containerized-test-runner-for-aws-lambda-${{ github.run_id }}-${{ github.run_attempt }}
6165
needs: [build]
6266
strategy:
6367
matrix:
@@ -72,7 +76,7 @@ jobs:
7276
7377
publish:
7478
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/fabisev/artifact-publishing'
75-
runs-on: [self-hosted, project-awsaws-lambda-nodejs-runtime-interface-client]
79+
runs-on: codebuild-containerized-test-runner-for-aws-lambda-${{ github.run_id }}-${{ github.run_attempt }}
7680
needs: [build, test]
7781
permissions:
7882
contents: write

0 commit comments

Comments
 (0)