Skip to content

Commit 2be727c

Browse files
committed
use CI env var for scala version in Upload coverage report
1 parent f85d8ce commit 2be727c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ jobs:
5151
uses: actions/[email protected]
5252
with:
5353
name: cobertura.xml
54-
path: ${{github.workspace}}/target/scala-2.13/coverage-report/cobertura.xml
54+
path: ${{github.workspace}}/target/scala-${{ matrix.scala }}/coverage-report/cobertura.xml
5555

5656
- name: Upload coverage report (HTML)
5757
uses: actions/[email protected]
5858
with:
5959
name: scoverage-report-html
60-
path: ${{github.workspace}}/target/scala-2.13/scoverage-report/
60+
path: ${{github.workspace}}/target/scala-${{ matrix.scala }}/scoverage-report/
6161

6262
optional-build:
6363
name: Build (Optional)

0 commit comments

Comments
 (0)