ci: add automatic release and provenance generation #13
Workflow file for this run
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
# 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 (macOS x86_64, Java SE 17, 21, 22) | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: macos-13 | |
strategy: | |
matrix: | |
# test against supported LTS versions and latest | |
java: [ 17, 21, 22 ] | |
name: macOS 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 |