diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9b93986da..e0c8547fc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,9 +22,13 @@ jobs: - uses: actions/checkout@v4 name: Checkout repository # This job calls the build pipeline from local workflows directory - if: ${{ success() }} - uses: ./.github/workflows/build.yml name: 'Call build workflow' + + if: ${{ success() }} + - run: echo "Job succeeded" + shell: bash + if: ${{ !success() }} - run: echo "Job failed" shell: bash \ No newline at end of file