mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 07:15: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:
|
||||
push:
|
||||
branches: [ main ]
|
||||
branches: ${{ secrets.BRANCH_NAME }}
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
branches: ${{ secrets.BRANCH_NAME }}
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -15,7 +15,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
java: [ '17' ]
|
||||
java: ['${{secrets.JAVA_VERSION}}']
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
@ -28,4 +28,4 @@ jobs:
|
|||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v4
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew build
|
||||
run: ${{secrets.BUILD_SCRIPT}} -B verify
|
||||
|
|
Loading…
Reference in a new issue