mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 15:25:49 +00:00
Build test 2
This commit is contained in:
parent
cd208bbaa5
commit
cc8ff95b70
2 changed files with 5 additions and 4 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -15,7 +15,7 @@ jobs:
|
|||
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
contents: read
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
|
@ -21,14 +21,15 @@ jobs:
|
|||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v4
|
||||
name: Checkout repository
|
||||
|
||||
# This job calls the build pipeline from local workflows directory
|
||||
- uses: ./.github/workflows/build.yml
|
||||
name: 'Call build workflow'
|
||||
|
||||
if: ${{ success() }}
|
||||
- run: echo "Job succeeded"
|
||||
shell: bash
|
||||
- uses: ./.github/workflows/build.yml
|
||||
name: 'Call build workflow'
|
||||
|
||||
# If failed
|
||||
if: ${{ !success() }}
|
||||
- run: echo "Job failed"
|
||||
shell: bash
|
Loading…
Reference in a new issue