feat(workflows): add builder args option for Build workflow

This commit is contained in:
2021-11-10 02:03:15 +00:00
parent ebc4626270
commit 4561c9d4ce
2 changed files with 10 additions and 0 deletions

View File

@@ -20,6 +20,10 @@ on:
description: Override git SHA to build
type: string
required: false
build_args:
description: Custom arguments passed to build script
type: string
required: false
test_build_name:
description: "Test build name"
type: string
@@ -149,6 +153,7 @@ jobs:
run: >-
./builder/build-emacs-for-macos --plan build-plan.yml
--no-relink-eln-files --native-full-aot
${{ inputs.build_args }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload unsigned app artifact

View File

@@ -14,6 +14,10 @@ on:
description: "Git ref to checkout of build-emacs-for-macos"
required: true
default: "master"
builder_args:
description: Custom arguments passed to build script
required: false
default: ""
os:
description: 'Runner OS ("macos-10.15" or "macos-11")'
required: true
@@ -44,6 +48,7 @@ jobs:
os: macos-10.15
git_ref: ${{ github.event.inputs.git_ref }}
git_sha: ${{ github.event.inputs.git_sha }}
build_args: ${{ github.event.inputs.builder_args }}
test_build_name: ${{ github.event.inputs.test_build_name }}
test_release_type: ${{ github.event.inputs.test_release_type }}
secrets: