From 5a8c0d2d30aa2da10abd484832e77870634a67ff Mon Sep 17 00:00:00 2001 From: Jason Milkins Date: Tue, 1 Oct 2024 07:57:24 +0700 Subject: [PATCH] Update xcode-build.yml --- .github/workflows/xcode-build.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/xcode-build.yml b/.github/workflows/xcode-build.yml index cac85624..5cd59106 100644 --- a/.github/workflows/xcode-build.yml +++ b/.github/workflows/xcode-build.yml @@ -4,6 +4,15 @@ on: push: branches: [ "master" ] workflow_dispatch: + inputs: + debug: + description: Debug this build? + type: choice + required: true + default: 'false' + options: + - 'true' + - 'false' jobs: build: @@ -56,11 +65,12 @@ jobs: make setup # Temporary debugging for tests - # - name: Setup tmate session - # uses: mxschmitt/action-tmate@v3 - # timeout-minutes: 15 - # with: - # limit-access-to-actor: true + - name: Setup tmate session + if: "${{ github.event.inputs. != '' }}" + uses: mxschmitt/action-tmate@v3 + timeout-minutes: 15 + with: + limit-access-to-actor: true - name: Run Tests run: |