Skip to content

Commit

Permalink
Update and rename maven.yml to pr-commit-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gaoxh authored Sep 8, 2024
1 parent 1eb0878 commit 4a021eb
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@
# separate terms of service, privacy policy, and support
# documentation.

name: Java CI with Maven
name: pr-commit-build

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

workflow_dispatch:

jobs:
build:
Expand All @@ -21,10 +23,10 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '17'
java-version: 21
distribution: 'temurin'
cache: maven
- name: Build with Maven
Expand Down

0 comments on commit 4a021eb

Please sign in to comment.