update workflow #278
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java CI Alt Maven | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ windows-2022, ubuntu-24.04 ] | |
version: [ '23' ] | |
distribution: [ 'graalvm' ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 23, x64 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: ${{ matrix.distribution }} | |
java-version: ${{ matrix.version }} | |
java-package: jdk | |
architecture: x64 | |
cache: 'maven' | |
- name: Build with Maven | |
run: | | |
java -version | |
mvn -B package --file pom.xml | |
ant -noinput -buildfile build.xml clean all build-jar |