Skip to content

Commit

Permalink
update to maven build action and java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
andifalk committed Oct 15, 2023
1 parent 3edc492 commit 8df2ac8
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 38 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

name: Java CI with Maven

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

permissions:
security-events: write
contents: write

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
# test against latest update of each major Java version, as well as specific updates of LTS versions:
java: [ 17, 21 ]

steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'liberica'
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Maven Dependency Tree Dependency Submission
uses: advanced-security/[email protected]
38 changes: 0 additions & 38 deletions .github/workflows/gradle.yml

This file was deleted.

0 comments on commit 8df2ac8

Please sign in to comment.