mirror of
https://github.com/jimeh/emacs-builds.git
synced 2026-02-19 11:56:40 +00:00
feat(workflows): add builder args option for Build workflow
This commit is contained in:
5
.github/workflows/_build.yml
vendored
5
.github/workflows/_build.yml
vendored
@@ -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
|
||||
|
||||
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user