Skip to content

maven

maven #199

Workflow file for this run

name: maven
on: [pull_request, push, workflow_dispatch]
jobs:
build:
strategy:
matrix:
# Use these Java versions
java: [8, 11, 17, 21]
# and run on both Linux and Windows
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java }}
uses: actions/[email protected]
with:
java-version: ${{ matrix.java }}
distribution: zulu
- name: Build with Maven
run: mvn clean install
- name: Upload artifact
uses: actions/upload-artifact@v2
if: ${{ matrix.java == 8 && matrix.os == 'ubuntu-latest' }}
with:
name: standalone-jar
path: target/ArrayV-*.jar