mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
👷 Added Tmate Debug session
This commit is contained in:
@@ -36,6 +36,11 @@ on:
|
|||||||
type: boolean
|
type: boolean
|
||||||
required: false
|
required: false
|
||||||
default: true
|
default: true
|
||||||
|
DEBUG_ENABLED:
|
||||||
|
type: boolean
|
||||||
|
description: 'Run the build with tmate debugging enabled.'
|
||||||
|
required: false
|
||||||
|
default: false
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.head_ref || github.run_id }}
|
group: ${{ github.head_ref || github.run_id }}
|
||||||
@@ -45,6 +50,7 @@ jobs:
|
|||||||
uses: ./.github/workflows/build-artifact.yml
|
uses: ./.github/workflows/build-artifact.yml
|
||||||
with:
|
with:
|
||||||
COMMIT_CHANGELOG: ${{ inputs.COMMIT_CHANGELOG }}
|
COMMIT_CHANGELOG: ${{ inputs.COMMIT_CHANGELOG }}
|
||||||
|
DEBUG_ENABLED: ${{ inputs.DEBUG_ENABLED }}
|
||||||
secrets:
|
secrets:
|
||||||
ENVS: ${{ secrets.ENVS }}
|
ENVS: ${{ secrets.ENVS }}
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,11 @@ on:
|
|||||||
type: boolean
|
type: boolean
|
||||||
required: false
|
required: false
|
||||||
default: false
|
default: false
|
||||||
|
DEBUG_ENABLED:
|
||||||
|
type: boolean
|
||||||
|
description: 'Run the build with tmate debugging enabled.'
|
||||||
|
required: false
|
||||||
|
default: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-apk:
|
build-apk:
|
||||||
@@ -37,6 +42,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "${{ secrets.ENVS }}" >> .env
|
echo "${{ secrets.ENVS }}" >> .env
|
||||||
|
|
||||||
|
- name: Setup tmate session
|
||||||
|
uses: mxschmitt/action-tmate@v3
|
||||||
|
if: ${{ github.event_name == 'workflow_dispatch' && inputs.DEBUG_ENABLED }}
|
||||||
|
|
||||||
- name: Build Revanced APKs
|
- name: Build Revanced APKs
|
||||||
run: |
|
run: |
|
||||||
docker-compose up
|
docker-compose up
|
||||||
|
|||||||
Reference in New Issue
Block a user