From bff2d680e6986ae91aa79267e4f48ca3853ff439 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 13 Jan 2025 16:27:13 +0000 Subject: [PATCH] Speed up Netlify further (#28978) * Speed up Netlify further Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update build.yml --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- .github/workflows/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7e3b8207627..21a6b0e7ab8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,10 +27,17 @@ jobs: - macos-14 isDevelop: - ${{ github.event_name == 'push' && github.ref_name == 'develop' }} + isPullRequest: + - ${{ github.event_name == 'pull_request' }} # Skip the ubuntu-24.04 build for the develop branch as the dedicated CD build_develop workflow handles that + # Skip the non-linux builds for pull requests as Windows is awfully slow, so run in merge queue only exclude: - isDevelop: true image: ubuntu-24.04 + - isPullRequest: true + image: windows-2022 + - isPullRequest: true + image: macos-14 runs-on: ${{ matrix.image }} defaults: run: