fix
This commit is contained in:
12
.github/workflows/dispatch.yml
vendored
12
.github/workflows/dispatch.yml
vendored
@@ -3,9 +3,21 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
package_clean:
|
package_clean:
|
||||||
|
type: choice
|
||||||
description: 'check to make clean package'
|
description: 'check to make clean package'
|
||||||
|
options:
|
||||||
|
- true
|
||||||
|
- false
|
||||||
default: 'false'
|
default: 'false'
|
||||||
required: true
|
required: true
|
||||||
|
debug:
|
||||||
|
type: choice
|
||||||
|
description: 'debug?'
|
||||||
|
options:
|
||||||
|
- true
|
||||||
|
- false
|
||||||
|
default: 'true'
|
||||||
|
required: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|||||||
13
.github/workflows/lo-test.yml
vendored
13
.github/workflows/lo-test.yml
vendored
@@ -94,6 +94,19 @@ jobs:
|
|||||||
make defconfig && sed -i -E 's/# (CONFIG_.*_COMPRESS_UPX) is not set/\1=y/' .config && make defconfig
|
make defconfig && sed -i -E 's/# (CONFIG_.*_COMPRESS_UPX) is not set/\1=y/' .config && make defconfig
|
||||||
cat .config
|
cat .config
|
||||||
|
|
||||||
|
- name: Debug via tmate
|
||||||
|
uses: klever1988/ssh2actions@main
|
||||||
|
if: ${{ github.event.client_payload.debug == 'true' }}
|
||||||
|
with:
|
||||||
|
mode: ssh
|
||||||
|
env:
|
||||||
|
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
||||||
|
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
|
||||||
|
SSH_PASSWORD: ${{secrets.SSH_PASSWORD}}
|
||||||
|
SSH_PUBKEY: ${{secrets.SSH_PUBKEY}}
|
||||||
|
NGROK_TOKEN: ${{secrets.TUNNEL_KEY}}
|
||||||
|
TUNNEL_HOST: ${{secrets.TUNNEL_HOST}}
|
||||||
|
|
||||||
- name: Clean build cache
|
- name: Clean build cache
|
||||||
if: ${{ github.event.client_payload.package_clean == 'true' || github.event.inputs.device != '' }}
|
if: ${{ github.event.client_payload.package_clean == 'true' || github.event.inputs.device != '' }}
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user