Skip to content

Commit 399467f

Browse files
committed
Split out Java8 Build from base Build
1 parent f91b235 commit 399467f

2 files changed

Lines changed: 40 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
java_version: [8, 11, 17, 18-ea]
16+
java_version: [11, 17, 18-ea]
1717
os: [ubuntu-latest]
1818

1919
steps:

.github/workflows/java8-build.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
2+
name: Java8 Build
3+
4+
on:
5+
workflow_dispatch:
6+
schedule:
7+
- cron: '20 6 * * *'
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: [8]
20+
os: [ubuntu-latest]
21+
22+
steps:
23+
- uses: actions/checkout@v2
24+
- name: Set up Java
25+
uses: actions/setup-java@v2
26+
with:
27+
java-version: ${{ matrix.java_version }}
28+
distribution: 'zulu'
29+
- name: Maven cache
30+
uses: actions/cache@v2
31+
env:
32+
cache-name: maven-cache
33+
with:
34+
path:
35+
~/.m2
36+
key: build-${{ env.cache-name }}
37+
- name: Build with Maven
38+
run: mvn clean verify
39+

0 commit comments

Comments
 (0)