1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 01:51:47 +02:00

Move down the if from build workflows

This commit is contained in:
Graham Christensen 2025-03-28 11:22:58 -04:00
parent feba05b18d
commit 2315b54f91
2 changed files with 7 additions and 2 deletions

View file

@ -7,9 +7,14 @@ on:
system:
required: true
type: string
if:
required: false
default: true
type: boolean
jobs:
build:
if: ${{ inputs.if }}
strategy:
fail-fast: false
runs-on: ${{ inputs.os }}

View file

@ -32,16 +32,16 @@ jobs:
system: x86_64-linux
build_aarch64-linux:
if: github.event_name == 'merge_group'
uses: ./.github/workflows/build.yml
with:
if: ${{ github.event_name == 'merge_group' }}
os: blacksmith-32vcpu-ubuntu-2204-arm
system: aarch64-linux
build_x86_64-darwin:
if: github.event_name == 'merge_group'
uses: ./.github/workflows/build.yml
with:
if: ${{ github.event_name == 'merge_group' }}
os: namespace-profile-mac-m2-12c28g
system: x86_64-darwin