Skip to content

Commit

Permalink
Build with 11 and test on 8.
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <[email protected]>
  • Loading branch information
dblock committed Mar 4, 2022
1 parent eaa7d1d commit dd7b6ef
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
38 changes: 38 additions & 0 deletions .github/workflows/ci-8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build and Test
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"

jobs:
build:

name: Build and Test (8)
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Java 11
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: 11

- name: Build
run: |
./gradlew build --build-cache
- name: Setup Java 8
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: 8

- name: Test
run: |
./gradlew test --build-cache
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
strategy:
matrix:
java:
- 8
- 11
- 14

Expand Down

0 comments on commit dd7b6ef

Please sign in to comment.