Skip to content

Commit

Permalink
ci: unique artifact names
Browse files Browse the repository at this point in the history
  • Loading branch information
Hertzole committed Jan 13, 2024
1 parent 68164a8 commit 251a70f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
jobs:
# Run the Unity tests
tests:
name: Run Unity 2021.3 tests
name: Run ${{ matrix.unity-version }} tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down Expand Up @@ -58,15 +58,15 @@ jobs:
uses: actions/upload-artifact@v4
if: always()
with:
name: Test results
name: Test results - ${{ matrix.unity-version }}
path: ${{ steps.tests.outputs.artifactsPath }}

# Upload coverage results
- name: Upload test results
uses: actions/upload-artifact@v4
if: always()
with:
name: Coverage results
name: Coverage results - ${{ matrix.unity-version }}
path: ${{ steps.tests.outputs.coveragePath }}

sonarscan:
Expand Down Expand Up @@ -119,14 +119,14 @@ jobs:
- name: Get test reports
uses: actions/download-artifact@v4
with:
name: Test results
name: Test results - 2021.3.34f1
path: Tests

# Get the test coverage results from the artifacts
- name: Get test coverage
uses: actions/download-artifact@v4
with:
name: Coverage results
name: Coverage results - 2021.3.34f1
path: Coverage

# The test results have a different path than what SonarQube can read.
Expand Down

0 comments on commit 251a70f

Please sign in to comment.