Skip to content

Commit

Permalink
Merge pull request #365 from michaelmior/gh-simplify
Browse files Browse the repository at this point in the history
Simplify GitHub Actions configuration
  • Loading branch information
simerplaha authored Jun 12, 2024
2 parents f420244 + 8a3d082 commit c624e89
Showing 1 changed file with 7 additions and 35 deletions.
42 changes: 7 additions & 35 deletions .github/workflows/scala.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,44 +3,16 @@ name: Build
on: [ push ]

jobs:
#Ubuntu
build_212-ubuntu:
runs-on: ubuntu-latest
build:
strategy:
matrix:
scala: [ 2.12.15, 2.13.7 ]
os: [ ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- run: sbt '++ 2.12.15 clean; compile'

build_213-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- run: sbt '++ 2.13.7 clean; compile'

#Windows
build_212-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- run: sbt '++ 2.12.15 clean; compile'

build_213-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- run: sbt '++ 2.13.7 clean; compile'
- run: sbt '++ ${{ matrix.scala }} clean; compile'

0 comments on commit c624e89

Please sign in to comment.