Skip to content

Commit a52d5e1

Browse files
committed
#1: fix unique artifact name
1 parent 84695ae commit a52d5e1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build-and-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
runs-on: ${{ matrix.runner.runs-on }}
3838
needs: get-matrix
3939
env:
40-
JUNIT_REPORT: ~
40+
JUNIT_REPORT_PATH: ~
4141
strategy:
4242
fail-fast: false
4343
matrix:
@@ -160,17 +160,17 @@ jobs:
160160
# - name: Report coverage
161161

162162
- name: Unit tests
163-
if: ${{ env.JUNIT_REPORT != '' }}
163+
if: ${{ env.JUNIT_REPORT_PATH != '' }}
164164
uses: phoenix-actions/test-reporting@v15
165165
with:
166166
name: Tests report
167-
path: ${{ env.JUNIT_REPORT }}
167+
path: ${{ env.JUNIT_REPORT_PATH }}
168168
reporter: java-junit
169169
output-to: step-summary
170170

171171
- name: Upload artifacts
172172
uses: actions/upload-artifact@v4
173173
if: always()
174174
with:
175-
name: foo-output-${{ matrix.runner.setup }}
175+
name: foo-output-${{ matrix.runner.name }}
176176
path: /opt/foo/output

0 commit comments

Comments
 (0)