This repository was archived by the owner on May 5, 2021. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33
44name : Java CI with Maven
55
6+ env :
7+ java : 11
8+
69on :
710 push :
811 branches : [ development, master ]
1114
1215jobs :
1316 build :
14- name : Build (Java ${{ matrix .java }})
17+ name : Build (Java ${{ env .java }})
1518 runs-on : ubuntu-latest
1619
17- strategy :
18- matrix :
19- java : [ 8, 11 ]
20-
2120 steps :
2221 - name : Checkout repository
2322 uses : actions/checkout@v2
2423
25- - name : Set up JDK ${{ matrix .java }}
24+ - name : Set up JDK ${{ env .java }}
2625 uses : actions/setup-java@v1
2726 with :
28- java-version : ${{ matrix .java }}
27+ java-version : ${{ env .java }}
2928
3029 - name : Cache Maven packages
3130 # FIXME(@JonasCir) #3733 remove '**/*.pom' once serverlib pom is renamed
3231 uses : actions/cache@v2
3332 with :
3433 path : ~/.m2
35- key : ${{ runner.os }}-java-${{ matrix .java }}-m2-${{ hashFiles('**/pom.xml', '**/*.pom') }}
36- restore-keys : ${{ runner.os }}-java-${{ matrix .java }}-m2
34+ key : ${{ runner.os }}-java-${{ env .java }}-m2-${{ hashFiles('**/pom.xml', '**/*.pom') }}
35+ restore-keys : ${{ runner.os }}-java-${{ env .java }}-m2
3736
3837 - name : Build with Maven
3938 working-directory : ./sormas-base
You can’t perform that action at this time.
0 commit comments