mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 15:25:49 +00:00
Build test e
This commit is contained in:
parent
cc8ff95b70
commit
fe982e545c
1 changed files with 14 additions and 5 deletions
19
.github/workflows/main.yml
vendored
19
.github/workflows/main.yml
vendored
|
@ -21,15 +21,24 @@ 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
|
||||
|
||||
# If success
|
||||
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
|
||||
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