build: change action to trigger on publish workflow dispatch

This commit is contained in:
Keeley Hammond
2024-04-09 10:03:30 -07:00
committed by Shelley Vohr
parent 2a7a61dcf5
commit 7f2ba4ba80

View File

@@ -1,9 +1,22 @@
name: Build MacOS
on:
push:
branches:
- gh-mac-runner
workflow_dispatch:
inputs:
macos-publish-arch-limit:
description: 'The allowed arches for macos-publish'
type: choice
default: all
options: ["all", "osx-x64", "osx-arm64", "mas-x64", "mas-arm64"]
upload-to-storage:
description: 'True to print to STDOUT'
required: true
default: '0'
type: string
run-macos-publish:
description: 'Run the publish jobs vs just the build jobs'
type: boolean
default: false
env:
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_mac=True --custom-var=host_os=mac --custom-var=host_cpu=arm64'