File tree 2 files changed +18
-3
lines changed
2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 15
15
branches : [ main ]
16
16
paths :
17
17
- ' aws-lambda-java-runtime-interface-client/**'
18
+ - ' .github/workflows/runtime-interface-client_*.yml'
18
19
workflow_dispatch :
19
20
20
21
jobs :
53
54
IS_JAVA_8 : true
54
55
55
56
- name : Issue AWS credentials
57
+ if : env.ENABLE_SNAPSHOT != null
58
+ env :
59
+ ENABLE_SNAPSHOT : ${{ secrets.ENABLE_SNAPSHOT }}
56
60
uses : aws-actions/configure-aws-credentials@v4
57
61
with :
58
62
aws-region : ${{ secrets.AWS_REGION }}
61
65
role-duration-seconds : 900
62
66
63
67
- name : Prepare codeartifact properties
68
+ if : env.ENABLE_SNAPSHOT != null
69
+ env :
70
+ ENABLE_SNAPSHOT : ${{ secrets.ENABLE_SNAPSHOT }}
64
71
working-directory : ./aws-lambda-java-runtime-interface-client/ric-dev-environment
65
72
run : |
66
73
cat <<EOF > codeartifact-properties.mk
71
78
EOF
72
79
73
80
- name : Publish
81
+ if : env.ENABLE_SNAPSHOT != null
74
82
working-directory : ./aws-lambda-java-runtime-interface-client
75
83
env :
76
84
ENABLE_SNAPSHOT : ${{ secrets.ENABLE_SNAPSHOT }}
77
85
run : make publish
86
+
87
+ - name : Upload coverage to Codecov
88
+ if : env.CODECOV_TOKEN != null
89
+ uses : codecov/codecov-action@v4
90
+ env :
91
+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 8
8
branches : [ '*' ]
9
9
paths :
10
10
- ' aws-lambda-java-runtime-interface-client/**'
11
- - ' .github/workflows/runtime-interface-client_pr .yml'
11
+ - ' .github/workflows/runtime-interface-client_* .yml'
12
12
13
13
jobs :
14
14
@@ -50,20 +50,21 @@ jobs:
50
50
51
51
- name : Available buildx platforms
52
52
run : echo ${{ steps.buildx.outputs.platforms }}
53
-
53
+
54
54
- name : Test Runtime Interface Client xplatform build - Run 'build' target
55
55
working-directory : ./aws-lambda-java-runtime-interface-client
56
56
run : make build
57
57
env :
58
58
IS_JAVA_8 : true
59
-
59
+
60
60
- name : Save the built jar
61
61
uses : actions/upload-artifact@v4
62
62
with :
63
63
name : aws-lambda-java-runtime-interface-client
64
64
path : ./aws-lambda-java-runtime-interface-client/target/aws-lambda-java-runtime-interface-client-*.jar
65
65
66
66
- name : Upload coverage to Codecov
67
+ if : env.CODECOV_TOKEN != null
67
68
uses : codecov/codecov-action@v4
68
69
env :
69
70
CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments