File tree 2 files changed +77
-0
lines changed
2 files changed +77
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+
3
+ on : [pull_request, workflow_dispatch]
4
+ jobs :
5
+ build :
6
+ runs-on : ${{ matrix.os }}
7
+ permissions :
8
+ contents : read
9
+ packages : write
10
+ strategy :
11
+ fail-fast : false
12
+ matrix :
13
+ java_version : [21]
14
+ os : [ubuntu-latest]
15
+
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+ - name : Set up Java
19
+ uses : actions/setup-java@v4
20
+ with :
21
+ java-version : ${{ matrix.java_version }}
22
+ distribution : ' zulu'
23
+ - name : Maven cache
24
+ uses : actions/cache@v4
25
+ env :
26
+ cache-name : maven-cache
27
+ with :
28
+ path : ~/.m2
29
+ key : build-${{ env.cache-name }}
30
+ - name : Maven version
31
+ run : mvn --version
32
+ - name : Build with Maven
33
+ env :
34
+ JAVA_VERSION : ${{ matrix.java_version }}
35
+ run : |
36
+ mvn clean package
Original file line number Diff line number Diff line change
1
+
2
+ name : avaje-nima EA
3
+
4
+ on :
5
+ workflow_dispatch :
6
+ schedule :
7
+ - cron : ' 39 3 * * 3'
8
+
9
+ jobs :
10
+ build :
11
+
12
+ runs-on : ${{ matrix.os }}
13
+ permissions :
14
+ contents : read
15
+ packages : write
16
+ strategy :
17
+ fail-fast : false
18
+ matrix :
19
+ java_version : [EA] # # valhalla (fails javadoc)
20
+ os : [ubuntu-latest]
21
+
22
+ steps :
23
+ - uses : actions/checkout@v4
24
+ - name : Set up Java
25
+ uses : oracle-actions/setup-java@v1
26
+ with :
27
+ website : jdk.java.net
28
+ release : ${{ matrix.java_version }}
29
+ - name : Maven cache
30
+ uses : actions/cache@v4
31
+ env :
32
+ cache-name : maven-cache
33
+ with :
34
+ path :
35
+ ~/.m2
36
+ key : build-${{ env.cache-name }}
37
+ - name : Maven version
38
+ run : mvn --version
39
+ - name : Build with Maven
40
+ run : mvn clean package
41
+
You can’t perform that action at this time.
0 commit comments