From 17cee79242c52366e5562067267c61081d1ac5b5 Mon Sep 17 00:00:00 2001 From: Calum Young Date: Sat, 22 Apr 2023 11:05:05 +0100 Subject: [PATCH] Add should skip check to build --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 893023d..43aaf17 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,6 +16,7 @@ jobs: name: Skip checks runs-on: ubuntu-latest outputs: + should_skip: ${{ steps.skip_check.outputs.should_skip }} paths_result: ${{ steps.skip_check.outputs.paths_result }} steps: - name: Check skip workflows @@ -29,6 +30,7 @@ jobs: "config/**" build: + name: Build Config needs: pre_job uses: zmkfirmware/zmk/.github/workflows/build-user-config.yml@main - if: ${{ !fromJSON(needs.pre_job.outputs.paths_result).build.should_skip }} + if: needs.pre_job.outputs.should_skip != 'true' || !fromJSON(needs.pre_job.outputs.paths_result).build.should_skip