Skip to content

Commit

Permalink
chore: run tmate if debug logging enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Feb 5, 2024
1 parent 4709afe commit 38ef177
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/mac-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@ on:
push:
branches:
- gh-mac-runner
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate debugging enabled'
required: false
default: false

env:
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_mac=True --custom-var=host_os=mac --custom-var=host_cpu=arm64'
Expand All @@ -30,7 +23,7 @@ jobs:
with:
path: src/electron
- name: Enable ssh Debugging
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
if: ${{ contains(runner.debug, '1') }}
uses: mxschmitt/action-tmate@v3
with:
detached: true
Expand Down

0 comments on commit 38ef177

Please sign in to comment.