From cc8ff95b7044e16c4958e6c9d13119fa3d809210 Mon Sep 17 00:00:00 2001 From: Mdumisi Kelvin Letsie Date: Wed, 6 Mar 2024 13:46:16 +0200 Subject: [PATCH] Build test 2 --- .github/workflows/build.yml | 2 +- .github/workflows/main.yml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b8f85cc73..d22647e3e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest permissions: - contents: read + contents: read steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e0c8547fc..5f3111963 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 \ No newline at end of file