Skip to content

Commit

Permalink
Updating github action.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzonthemtn committed Jan 2, 2025
1 parent b2ca178 commit 873449b
Showing 1 changed file with 11 additions and 20 deletions.
31 changes: 11 additions & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,14 @@ name: Build and Test
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
jdk: [ 11, 17, 21 ]
experimental: [false]
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.jdk }}
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ matrix.jdk }}
cache: gradle
- name: Assemble target plugin
uses: gradle/gradle-build-action@v3
with:
cache-disabled: true
arguments: -Dtests.security.manager=false assemble
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify

0 comments on commit 873449b

Please sign in to comment.