File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 8
8
branches : [ main ]
9
9
workflow_dispatch :
10
10
11
+ permissions :
12
+ id-token : write
13
+ contents : read
14
+
11
15
jobs :
12
16
build :
13
- runs-on : [self-hosted, project-awsaws-lambda-nodejs-runtime-interface-client]
17
+ runs-on : codebuild- project-awsaws-lambda-nodejs-runtime-interface-client-${{ github.run_id }}-${{ github.run_attempt }}
14
18
timeout-minutes : 15
15
19
outputs :
16
20
version : ${{ steps.version.outputs.version }}
30
34
echo "version=$BASE_VERSION" >> $GITHUB_OUTPUT
31
35
32
36
- name : Install build dependencies
33
- run : yum install -y cmake make gcc-c++
37
+ run : |
38
+ apt-get update
39
+ apt-get install -y cmake make g++
34
40
35
41
- name : Clean and build
36
42
run : |
57
63
retention-days : 30
58
64
59
65
test :
60
- runs-on : [self-hosted, project-awsaws-lambda-nodejs-runtime-interface-client]
66
+ runs-on : codebuild- project-awsaws-lambda-nodejs-runtime-interface-client-${{ github.run_id }}-${{ github.run_attempt }}
61
67
needs : [build]
62
68
strategy :
63
69
matrix :
72
78
73
79
publish :
74
80
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]
81
+ runs-on : codebuild- project-awsaws-lambda-nodejs-runtime-interface-client-${{ github.run_id }}-${{ github.run_attempt }}
76
82
needs : [build, test]
77
83
permissions :
78
84
contents : write
You can’t perform that action at this time.
0 commit comments