Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tamlok committed May 14, 2024
1 parent 642e9a0 commit 57bcb07
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ on:

# Allows you to run this workflow manually from the Actions tab.
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate debugging enabled'
required: false
default: false

env:
VNOTE_VER: 3.17.0
Expand Down Expand Up @@ -80,6 +86,11 @@ jobs:
cmake --build . --target pack
working-directory: ${{runner.workspace}}/build

# Enable tmate debugging of manually-triggered workflows if the input option was provided
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}

- name: Archive Artifacts
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit 57bcb07

Please sign in to comment.