Merge pull request #635 from ryanjbaxter/use-new-pr-workflow

Use new PR workflow
This commit is contained in:
Ryan Baxter
2026-04-09 20:26:56 -04:00
committed by GitHub
2 changed files with 9 additions and 30 deletions
-30
View File
@@ -1,30 +0,0 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Build
on:
pull_request:
branches: [ main, 4.3.x, 4.2.x ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: 17
distribution: 'temurin'
- name: Cache local Maven repository
uses: actions/cache@v5
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: ./mvnw clean install -Pdocs -B -U -Pspring
+9
View File
@@ -0,0 +1,9 @@
name: PR
on:
pull_request:
branches: [ 4.3.x ]
jobs:
build:
uses: spring-cloud/spring-cloud-github-actions/.github/workflows/pr.yml@main