Skip to content

Commit

Permalink
test build on java 17 and 21
Browse files Browse the repository at this point in the history
  • Loading branch information
ianopolous committed Oct 28, 2024
1 parent ee4bb6f commit 7d2668e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/jar-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,20 @@ on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '17', '21' ]
permissions:
id-token: write
contents: read
attestations: write
steps:
- uses: actions/checkout@v4
- name: Set up JDK
- name: Set up JDK ${{ matrix.Java }}
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
java-version: ${{ matrix.Java }}
- name: Build with Ant
run: ant -noinput -buildfile build.xml peergos_submodule_sync dist
- name: Create jar attestation
Expand Down

0 comments on commit 7d2668e

Please sign in to comment.