Skip to content

Commit

Permalink
Update GitHub Actions (#955)
Browse files Browse the repository at this point in the history
  • Loading branch information
eed3si9n committed Apr 16, 2024
1 parent 19c031c commit 902f9fa
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/master-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ on:
branches:
- master
pull_request:
branches:
- master

jobs:
compile:
Expand All @@ -33,19 +31,14 @@ jobs:
os: [ ubuntu-latest, ubuntu-20.04, windows-latest, macos-latest ]
java: [ '21' ]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}

- uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ matrix.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ matrix.os }}-maven-
distribution: temurin
cache: maven

- name: Build with maven
run: mvn --no-transfer-progress verify

0 comments on commit 902f9fa

Please sign in to comment.