mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
build: change action to trigger on publish workflow dispatch
This commit is contained in:
committed by
Shelley Vohr
parent
2a7a61dcf5
commit
7f2ba4ba80
19
.github/workflows/macos-build.yml
vendored
19
.github/workflows/macos-build.yml
vendored
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user