mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:35:50 +00:00
Build test e
This commit is contained in:
parent
cc8ff95b70
commit
fe982e545c
1 changed files with 14 additions and 5 deletions
15
.github/workflows/main.yml
vendored
15
.github/workflows/main.yml
vendored
|
@ -22,14 +22,23 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
name: Checkout repository
|
name: Checkout repository
|
||||||
|
|
||||||
# This job calls the build pipeline from local workflows directory
|
# If success
|
||||||
if: ${{ success() }}
|
if: ${{ success() }}
|
||||||
- run: echo "Job succeeded"
|
- run: echo "Job succeeded"
|
||||||
shell: bash
|
shell: bash
|
||||||
- uses: ./.github/workflows/build.yml
|
|
||||||
name: 'Call build workflow'
|
|
||||||
|
|
||||||
# If failed
|
# If failed
|
||||||
if: ${{ !success() }}
|
if: ${{ !success() }}
|
||||||
- run: echo "Job failed"
|
- run: echo "Job failed"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
|
# This job calls the build pipeline from local workflows directory
|
||||||
|
my_second_job:
|
||||||
|
name: Call build workflow
|
||||||
|
runs-on: Ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
name: Checkout repository
|
||||||
|
- uses: ./.github/workflows/build.yml
|
||||||
|
name: 'Call build workflow'
|
Loading…
Reference in a new issue