summaryrefslogtreecommitdiff
path: root/.github/workflows/ci_build_major_branch_keymap.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci_build_major_branch_keymap.yml')
-rw-r--r--.github/workflows/ci_build_major_branch_keymap.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/ci_build_major_branch_keymap.yml b/.github/workflows/ci_build_major_branch_keymap.yml
index 3b2db843a9..17fdd6f96a 100644
--- a/.github/workflows/ci_build_major_branch_keymap.yml
+++ b/.github/workflows/ci_build_major_branch_keymap.yml
@@ -105,7 +105,12 @@ jobs:
105 continue-on-error: true 105 continue-on-error: true
106 run: | 106 run: |
107 export NCPUS=$(( $(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || getconf _NPROCESSORS_ONLN 2>/dev/null) -1 )) 107 export NCPUS=$(( $(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || getconf _NPROCESSORS_ONLN 2>/dev/null) -1 ))
108 qmk mass-compile -t -j $NCPUS -e DUMP_CI_METADATA=yes $(jq -r '.["${{ matrix.target }}"].targets' targets.json) || touch .failed 108 targets=$(jq -r '.["${{ matrix.target }}"].targets' targets.json | tr ' ' '\n' | sort)
109 if [[ -z ${targets} ]]; then
110 echo "Zero build targets detected"
111 exit 0
112 fi
113 qmk mass-compile -t -j $NCPUS -e DUMP_CI_METADATA=yes $targets || touch .failed
109 114
110 - name: Upload binaries 115 - name: Upload binaries
111 uses: actions/upload-artifact@v6 116 uses: actions/upload-artifact@v6