Skip to content

Commit c24d1ae

Browse files
authored
Merge pull request #79 from Atry/master
Support matrix.sbt-args
2 parents b4e8b81 + 09d8938 commit c24d1ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/scala.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ jobs:
5151
${{ runner.os }}-${{matrix.scala}}-${{ hashFiles('**/*.sbt') }}
5252
${{ runner.os }}-${{matrix.scala}}-
5353
- name: Run tests
54-
run: sbt ++${{ matrix.scala }} test
54+
run: sbt ${{matrix.sbt-args}} ++${{ matrix.scala }} test
5555
- name: Publish to Maven Central Repository
5656
env:
5757
GITHUB_PERSONAL_ACCESS_TOKEN: ${{secrets.PERSONAL_ACCESS_TOKEN}}
5858
if: ${{ env.GITHUB_PERSONAL_ACCESS_TOKEN != '' }}
59-
run: sbt ++${{ matrix.scala }} "set every Seq(sonatypeSessionName := \"${{github.workflow}} ${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}-$$ ${{ matrix.scala }}\", publishTo := sonatypePublishToBundle.value)" publishSigned sonatypeBundleRelease
59+
run: sbt ${{matrix.sbt-args}} ++${{ matrix.scala }} "set every Seq(sonatypeSessionName := \"${{github.workflow}} ${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}-$$ ${{ matrix.scala }}\", publishTo := sonatypePublishToBundle.value)" publishSigned sonatypeBundleRelease

0 commit comments

Comments
 (0)