diff options
author | Nick Brassel <nick@tzarc.org> | 2023-03-29 16:48:57 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-29 16:48:57 +1100 |
commit | d31d1488e8e72a7e8542edd36f335c7d146b1f97 (patch) | |
tree | 700cf3113ae193b2ccb7c6a091c9f5c9cb4d98d4 /.github/workflows | |
parent | 6bdbf77238166e25eb0888c85ad07f0b7dbf16bc (diff) |
Fixup CI command failures. (#20291)
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/ci_builds.yml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/ci_builds.yml b/.github/workflows/ci_builds.yml index 92659f304d..ce2d0b509e 100644 --- a/.github/workflows/ci_builds.yml +++ b/.github/workflows/ci_builds.yml @@ -39,11 +39,13 @@ jobs: - name: Run `qmk mass-compile` (keymap ${{ matrix.keymap }}) run: | export NCPUS=$(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || getconf _NPROCESSORS_ONLN 2>/dev/null) - qmk mass-compile -t -j $NCPUS -km ${{ matrix.keymap }} -e DUMP_CI_METADATA=yes + qmk mass-compile -t -j $NCPUS -km ${{ matrix.keymap }} -e DUMP_CI_METADATA=yes || touch .failed # Generate the step summary markdown - ./util/ci/generate_failure_markdown.sh > $GITHUB_STEP_SUMMARY + ./util/ci/generate_failure_markdown.sh > $GITHUB_STEP_SUMMARY || true # Truncate to a maximum of 1MB to deal with GitHub workflow limit - truncate --size='<960K' $GITHUB_STEP_SUMMARY + truncate --size='<960K' $GITHUB_STEP_SUMMARY || true + # Exit with failure if the compilation stage failed + [ ! -f .failed ] || exit 1 - name: 'Upload artifacts' uses: actions/upload-artifact@v3 |