aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/main.yml
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2019-09-23 01:44:06 -0400
committerJakob Odersky <jakob@odersky.com>2019-09-23 01:44:06 -0400
commit06df66a2dfc8cdd77b435790624eeee565edfd5f (patch)
tree00ca3b6a146d831a106212ef4c4e0c376bae2a58 /.github/workflows/main.yml
parenta34157844e2128d100e9ba5e86e827b3d0f77866 (diff)
downloadcommando-06df66a2dfc8cdd77b435790624eeee565edfd5f.tar.gz
commando-06df66a2dfc8cdd77b435790624eeee565edfd5f.tar.bz2
commando-06df66a2dfc8cdd77b435790624eeee565edfd5f.zip
build matrix
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r--.github/workflows/main.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index d698cd0..6ae537a 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -11,6 +11,9 @@ on:
jobs:
build:
+ strategy:
+ matrix:
+ scala: ["2.13.1", "2.12.10", "2.11.12"]
runs-on: ubuntu-latest
steps:
@@ -19,12 +22,12 @@ jobs:
- uses: jodersky/setup-mill@master
- name: Test
- run: mill commando.test
+ run: mill -D scala.version=${{matrix.scala}} commando.test
- name: Publish Tag
if: startsWith(github.ref, 'refs/tags/')
run: |
echo "${{secrets.GPG_KEY}}" | gpg --import
- mill mill.scalalib.PublishModule/publishAll \
+ mill -D scala.version=${{matrix.scala}} mill.scalalib.PublishModule/publishAll \
--sonatypeCreds "8VNUX6+2:${{secrets.SONATYPE_PASSWORD}}" \
--publishArtifacts __.publishArtifacts