From 69d2c051cce3ed17727f20aae44003451704feba Mon Sep 17 00:00:00 2001 From: Matt Ivan <9088829+neuralnexus@users.noreply.github.com> Date: Tue, 25 Aug 2026 01:03:38 -0700 Subject: [PATCH] ci: add guarded Nexus runner selection --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b85eaf3..bed9b18 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ concurrency: jobs: build: - runs-on: macos-latest + runs-on: ${{ fromJSON(((((github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref == format('refs/heads/{0}', github.event.repository.default_branch)) && vars.NEXUS_RUNS_ON_MACOS_DEVELOPER) || '["macos-26"]')) }} env: FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true @@ -86,7 +86,7 @@ jobs: release: needs: build - runs-on: ubuntu-latest + runs-on: ${{ fromJSON(((((github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref == format('refs/heads/{0}', github.event.repository.default_branch)) && vars.NEXUS_RUNS_ON_LINUX) || '["ubuntu-26.04"]')) }} if: startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'push' && github.ref == 'refs/heads/main') permissions: contents: write