Skip to content

Commit

Permalink
Rework CI to add multi-version build and Maven repository caching
Browse files Browse the repository at this point in the history
  • Loading branch information
scordio committed Jan 30, 2022
1 parent 72dc4db commit 2effc1b
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 75 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Java CI with Maven

on: [push, pull_request]

jobs:
build:
name: Java ${{ matrix.java }}
strategy:
fail-fast: false
matrix:
java: [ 8, 11, 17, 18-ea, 19-ea ]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: zulu
java-version: ${{ matrix.java }}
cache: maven
- name: Build with Maven
run: mvn -B package
25 changes: 0 additions & 25 deletions .github/workflows/maven_java1.8.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/maven_java11.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/maven_java15.yml

This file was deleted.

0 comments on commit 2effc1b

Please sign in to comment.