Skip to content

Commit 238ab35

Browse files
committed
TEST
1 parent 81f6106 commit 238ab35

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

.github/workflows/gradle-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: ./gradlew -q buildEnvironment
3939

4040
- name: Execute Gradle build
41-
run: ./gradlew --continue build
41+
run: ./gradlew --continue :typed-ids:test :typed-ids:test-jdk21
4242

4343
- name: Upload Test Report
4444
uses: actions/upload-artifact@v4

.github/workflows/publish-test-results.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,31 @@ on:
66
types: [ completed ]
77

88
permissions:
9+
actions: read
10+
contents: read
911
checks: write
1012

1113
jobs:
1214
checks:
1315
runs-on: ubuntu-latest
1416
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+
1529
- name: Download Test Report
16-
uses: actions/download-artifact@v4
30+
uses: dawidd6/action-download-artifact@v9
1731
with:
1832
name: junit-test-results
19-
run-id: ${{ github.event.workflow_run.id }}
33+
run_id: ${{ github.event.workflow_run.id }}
2034

2135
- name: Publish Test Report
2236
uses: mikepenz/action-junit-report@v5

0 commit comments

Comments
 (0)