Skip to content

Commit

Permalink
add ssh debug flag for release gh-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ichenhe committed Mar 31, 2024
1 parent 029a3c4 commit 96aeaa1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ on:
tags:
- v[0-9]+.[0-9]+.[0-9]+**
workflow_dispatch:
inputs:
sshDebug:
description: "Setup an ssh connection for debugging."
required: true
type: boolean
default: false

env:
VERSION_BRANCH: version
Expand Down Expand Up @@ -37,6 +43,10 @@ jobs:
filePath: ${{ env.QNEVO_SIGNING_STORE_PATH }}
encodedString: ${{ secrets.SIGNING_KEYSTORE }}

- name: Setup Debug Session
if: ${{ inputs.sshDebug }}
uses: csexton/debugger-action@master

- name: Assemble Release APK
run: ./gradlew assembleRelease
env:
Expand Down

0 comments on commit 96aeaa1

Please sign in to comment.