Skip to content

Commit 160b17c

Browse files
committed
fix: update artifact upload names and add test report upload step in CI workflow
1 parent a6e459d commit 160b17c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/gradle.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,16 @@ jobs:
2626
- name: Upload built jar file
2727
uses: actions/upload-artifact@v4
2828
with:
29-
name: ${{ github.event.repository.name }}
29+
name: ${{ github.event.repository.name }}-test
3030
path: build/libs/${{ github.event.repository.name }}.jar
3131

32+
- name: Upload test report
33+
if: always() # ensures this runs even if tests fail
34+
uses: actions/upload-artifact@v4
35+
with:
36+
name: test-report
37+
path: build/reports/tests/test/
38+
3239
- uses: "marvinpinto/action-automatic-releases@latest"
3340
with:
3441
repo_token: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)