File tree Expand file tree Collapse file tree 2 files changed +19
-30
lines changed
Expand file tree Collapse file tree 2 files changed +19
-30
lines changed Original file line number Diff line number Diff line change 1- name : Build with Scala 2.12
1+ name : Build and test
22
33on :
44 push :
77 branches : [main]
88
99jobs :
10- build :
10+ build-scala-12 :
1111 runs-on : ubuntu-latest
1212
1313 steps :
2626 restore-keys : ${{ runner.os }}-m2
2727 - name : Build with Maven
2828 run : ./mvnw -B package --file pom.xml -Pscala-2.12
29+ build-scala-11 :
30+ runs-on : ubuntu-latest
31+
32+ steps :
33+ - uses : actions/checkout@v2
34+ - name : Set up JDK 8
35+ uses : actions/setup-java@v1
36+ with :
37+ java-version : 8
38+ - name : Cache Maven packages
39+ uses : actions/cache@v2
40+ with :
41+ path : ~/.m2
42+ key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
43+ restore-keys : ${{ runner.os }}-m2
44+ - name : Build with Maven
45+ run : ./mvnw -B package --file pom.xml -Pscala-2.11
2946
3047# vim: ts=2:sts=2:sw=2:expandtab
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments