Skip to content

Commit 96aeaa1

Browse files
committed
add ssh debug flag for release gh-actions
1 parent 029a3c4 commit 96aeaa1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ on:
55
tags:
66
- v[0-9]+.[0-9]+.[0-9]+**
77
workflow_dispatch:
8+
inputs:
9+
sshDebug:
10+
description: "Setup an ssh connection for debugging."
11+
required: true
12+
type: boolean
13+
default: false
814

915
env:
1016
VERSION_BRANCH: version
@@ -37,6 +43,10 @@ jobs:
3743
filePath: ${{ env.QNEVO_SIGNING_STORE_PATH }}
3844
encodedString: ${{ secrets.SIGNING_KEYSTORE }}
3945

46+
- name: Setup Debug Session
47+
if: ${{ inputs.sshDebug }}
48+
uses: csexton/debugger-action@master
49+
4050
- name: Assemble Release APK
4151
run: ./gradlew assembleRelease
4252
env:

0 commit comments

Comments
 (0)