summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2024-08-19 21:42:14 +0700
committerGitHub <[email protected]>2024-08-19 21:42:14 +0700
commit5f519819bad94b1d19364b485c314b412199fba0 (patch)
tree1cc0eed20cb8950d7a8b97cfb80a12a3eaf3fb89 /.github
parentca3925a4c5b8958ec6f49818e78ccf35aba59247 (diff)
parent0541598d07fd57e4ad0067abe85c4c7a71b3756a (diff)
Merge pull request #2767 from hathach/minor-update
Minor update
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index fde9400a7..e4204ca3d 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -66,7 +66,7 @@ jobs:
build-system: 'cmake'
toolchain: ${{ matrix.toolchain }}
build-args: ${{ toJSON(fromJSON(needs.set-matrix.outputs.json)[matrix.toolchain].family) }}
- one-per-family: ${{ github.event_name != 'pull_request' }}
+ one-per-family: ${{ github.event_name == 'push' }}
# ---------------------------------------
# Build CMake arm-gcc
@@ -103,12 +103,13 @@ jobs:
build-system: 'make'
toolchain: ${{ matrix.toolchain }}
build-args: ${{ toJSON(fromJSON(needs.set-matrix.outputs.json)[matrix.toolchain].family) }}
- one-per-family: ${{ github.event_name != 'pull_request' }}
+ one-per-family: ${{ github.event_name == 'push' }}
# ---------------------------------------
# Build Make on Windows/MacOS
# ---------------------------------------
make-os:
+ if: github.event_name == 'pull_request'
uses: ./.github/workflows/build_util.yml
strategy:
fail-fast: false