Skip to content

ci: add automatic release and provenance generation #754

ci: add automatic release and provenance generation

ci: add automatic release and provenance generation #754

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Tribuo CI (Ubuntu x86_64, Java SE 17, 21, 22)
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# test against supported LTS versions and latest
java: [ 17, 21, 22 ]
name: Ubuntu Java SE ${{ matrix.java }}
steps:
- uses: actions/checkout@v4
- name: Setup Oracle Java SE
uses: oracle-actions/setup-java@v1
with:
website: oracle.com
release: ${{ matrix.java }}
- name: Build with Maven
run: mvn -B package --file pom.xml