Skip to content

update CI

update CI #85

Workflow file for this run

name: Java CI maven
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
os: [ macos-11, macos-12, macos-13, ubuntu-20.04, windows-2022 ]
version: [ '8', '21.0.0' ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.version }}
java-package: jdk
architecture: x64
cache: 'maven'
- name: Build with Maven
run: |
java -version
mvn -B package --file pom.xml
java -jar target/headlong-cli-1.1-SNAPSHOT.jar -version