File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 38
38
run : ./gradlew -q buildEnvironment
39
39
40
40
- name : Execute Gradle build
41
- run : ./gradlew --continue build
41
+ run : ./gradlew --continue :typed-ids:test :typed-ids:test-jdk21
42
42
43
43
- name : Upload Test Report
44
44
uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 6
6
types : [ completed ]
7
7
8
8
permissions :
9
+ actions : read
10
+ contents : read
9
11
checks : write
10
12
11
13
jobs :
12
14
checks :
13
15
runs-on : ubuntu-latest
14
16
steps :
17
+ - name : List artifacts for run
18
+ uses : actions/github-script@v7
19
+ with :
20
+ script : |
21
+ const run_id = ${{ github.event.workflow_run.id }};
22
+ const artifacts = await github.rest.actions.listWorkflowRunArtifacts({
23
+ owner: context.repo.owner,
24
+ repo: context.repo.repo,
25
+ run_id,
26
+ });
27
+ console.log("Artifacts:", artifacts.data.artifacts.map(a => a.name));
28
+
15
29
- name : Download Test Report
16
30
uses : actions/download-artifact@v4
17
31
with :
You can’t perform that action at this time.
0 commit comments