From 1478769183967e2baec2c5bb7fe22643d817933c Mon Sep 17 00:00:00 2001 From: Bart Louwers Date: Wed, 20 Sep 2023 04:00:49 +0200 Subject: [PATCH] Skip jobs linux-ci (#1665) --- .github/workflows/linux-ci.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linux-ci.yml b/.github/workflows/linux-ci.yml index 2d8c1c045..b45002d25 100644 --- a/.github/workflows/linux-ci.yml +++ b/.github/workflows/linux-ci.yml @@ -40,6 +40,8 @@ jobs: ".bazelversion"] linux-build: + if: needs.pre_job.outputs.should_skip != 'true' + needs: pre_job strategy: fail-fast: false matrix: @@ -116,7 +118,10 @@ jobs: retention-days: 1 linux-test: - needs: linux-build + if: needs.pre_job.outputs.should_skip != 'true' + needs: + - pre_job + - linux-build runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 @@ -138,7 +143,10 @@ jobs: run: xvfb-run -a ./mbgl-test-runner linux-expression-test: - needs: linux-build + if: needs.pre_job.outputs.should_skip != 'true' + needs: + - pre_job + - linux-build runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 @@ -153,7 +161,10 @@ jobs: run: ./mbgl-expression-test linux-render-test: - needs: linux-build + if: needs.pre_job.outputs.should_skip != 'true' + needs: + - pre_job + - linux-build runs-on: ubuntu-22.04 steps: - name: Install dependencies