[gha] Remove write from deployment for site, only needs contents #282
This file contains hidden or 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
name: Java CI | |
on: [workflow_dispatch, push, pull_request] | |
permissions: read-all | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
cache: [maven] | |
distribution: [temurin] | |
java: [21] | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
fail-fast: false | |
max-parallel: 4 | |
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Java ${{ matrix.java }} ${{ matrix.distribution }} | |
uses: actions/setup-java@v4 | |
with: | |
cache: ${{ matrix.cache }} | |
distribution: ${{ matrix.distribution }} | |
java-version: ${{ matrix.java }} | |
- name: Test with Maven | |
run: ./mvnw test -B -V --no-transfer-progress -D"license.skip=true" |