mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:55:49 +00:00
Update gradle-build.yml
This commit is contained in:
parent
6876e748b4
commit
a8e6c3b588
1 changed files with 4 additions and 4 deletions
8
.github/workflows/gradle-build.yml
vendored
8
.github/workflows/gradle-build.yml
vendored
|
@ -5,9 +5,9 @@ name: Java CI with Gradle
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: ${{ secrets.BRANCH_NAME }}
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ main ]
|
branches: ${{ secrets.BRANCH_NAME }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -15,7 +15,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
java: [ '17' ]
|
java: ['${{secrets.JAVA_VERSION}}']
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
@ -28,4 +28,4 @@ jobs:
|
||||||
- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
uses: gradle/actions/setup-gradle@v4
|
uses: gradle/actions/setup-gradle@v4
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew build
|
run: ${{secrets.BUILD_SCRIPT}} -B verify
|
||||||
|
|
Loading…
Reference in a new issue