Skip to content

update workflow

update workflow #433

Workflow file for this run

name: Java CI gradle
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
os: [ macos-12, macos-13, macos-14, ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, windows-2019, windows-2022 ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v3
- name: Set up JDK 8 x64
uses: actions/setup-java@v4
with:
distribution: 'liberica'
java-version: '8.0.422'
java-package: jdk
architecture: x64
cache: 'gradle'
- name: Build with Gradle
run: |
java -version
chmod +x ./gradlew
./gradlew build fatJar --no-daemon
java -jar build/libs/headlong-cli-1.1-SNAPSHOT.jar -version