From 4561c9d4cecd6e0a8d766686c32066b43d6a5c3b Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Wed, 10 Nov 2021 02:03:15 +0000 Subject: [PATCH] feat(workflows): add builder args option for Build workflow --- .github/workflows/_build.yml | 5 +++++ .github/workflows/build.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/_build.yml b/.github/workflows/_build.yml index a740f9f..cc29d3b 100644 --- a/.github/workflows/_build.yml +++ b/.github/workflows/_build.yml @@ -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 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e09a2c2..7c6d9f3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: