File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Expand file tree Collapse file tree 2 files changed +17
-3
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
- uses : actions/ download-artifact@v4
30
+ uses : dawidd6/action- download-artifact@v9
17
31
with :
18
32
name : junit-test-results
19
- run-id : ${{ github.event.workflow_run.id }}
33
+ run_id : ${{ github.event.workflow_run.id }}
20
34
21
35
- name : Publish Test Report
22
36
uses : mikepenz/action-junit-report@v5
You can’t perform that action at this time.
0 commit comments