From fe982e545c746c6f9b67aa2083d912bcbded92f2 Mon Sep 17 00:00:00 2001 From: Mdumisi Kelvin Letsie Date: Wed, 6 Mar 2024 13:51:02 +0200 Subject: [PATCH] Build test e --- .github/workflows/main.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5f3111963..a7ea6d289 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 \ No newline at end of file + 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' \ No newline at end of file