移除非 Test-yml SSH 支持
This commit is contained in:
parent
91556165ee
commit
521aac0e42
|
@ -11,10 +11,6 @@ on:
|
|||
repository_dispatch:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
ssh:
|
||||
description: 'SSH 连接到 Actions'
|
||||
required: true
|
||||
default: 'false'
|
||||
ip_addr:
|
||||
description: '固件 IP 地址 [可选]'
|
||||
default: ''
|
||||
|
@ -113,16 +109,10 @@ jobs:
|
|||
make defconfig > /dev/null 2>&1
|
||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
||||
Firmware-Diy_Base && Firmware-Diy
|
||||
Firmware-Diy_Base
|
||||
source $GITHUB_WORKSPACE/openwrt/VARIABLE_FILE_Sec && Firmware-Diy
|
||||
rm -f .config && cp $GITHUB_WORKSPACE/Configs/$DEFAULT_TARGET .config
|
||||
|
||||
- name: SSH Connection to Actions
|
||||
uses: P3TERX/ssh2actions@v1.0.0
|
||||
if: (github.event.inputs.SSH == 'true' && github.event.inputs.SSH != 'false') || contains(github.event.action, 'SSH')
|
||||
env:
|
||||
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
|
||||
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
||||
|
||||
- name: Compile
|
||||
run: |
|
||||
export Compile_Result=false
|
||||
|
|
|
@ -11,10 +11,6 @@ on:
|
|||
repository_dispatch:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
ssh:
|
||||
description: 'SSH 连接到 Actions'
|
||||
required: true
|
||||
default: 'false'
|
||||
ip_addr:
|
||||
description: '固件 IP 地址 [可选]'
|
||||
default: ''
|
||||
|
@ -49,7 +45,7 @@ env:
|
|||
### END
|
||||
|
||||
jobs:
|
||||
build:
|
||||
Compile:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
@ -113,16 +109,10 @@ jobs:
|
|||
make defconfig > /dev/null 2>&1
|
||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
||||
Firmware-Diy_Base && Firmware-Diy
|
||||
Firmware-Diy_Base
|
||||
source $GITHUB_WORKSPACE/openwrt/VARIABLE_FILE_Sec && Firmware-Diy
|
||||
rm -f .config && cp $GITHUB_WORKSPACE/Configs/$DEFAULT_TARGET .config
|
||||
|
||||
- name: SSH Connection to Actions
|
||||
uses: P3TERX/ssh2actions@v1.0.0
|
||||
if: (github.event.inputs.SSH == 'true' && github.event.inputs.SSH != 'false') || contains(github.event.action, 'SSH')
|
||||
env:
|
||||
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
|
||||
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
||||
|
||||
- name: Compile
|
||||
run: |
|
||||
export Compile_Result=false
|
||||
|
@ -170,4 +160,4 @@ jobs:
|
|||
if: env.DELETE_OLD_WORKFLOW == 'true' && !cancelled()
|
||||
with:
|
||||
retain_days: 1
|
||||
keep_minimum_runs: 3
|
||||
keep_minimum_runs: 3
|
||||
|
|
|
@ -11,10 +11,6 @@ on:
|
|||
repository_dispatch:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
ssh:
|
||||
description: 'SSH 连接到 Actions'
|
||||
required: true
|
||||
default: 'false'
|
||||
ip_addr:
|
||||
description: '固件 IP 地址 [可选]'
|
||||
default: ''
|
||||
|
@ -49,7 +45,7 @@ env:
|
|||
### END
|
||||
|
||||
jobs:
|
||||
build:
|
||||
Compile:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
@ -113,16 +109,10 @@ jobs:
|
|||
make defconfig > /dev/null 2>&1
|
||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_DiyScript.sh
|
||||
source $GITHUB_WORKSPACE/Scripts/AutoBuild_Function.sh
|
||||
Firmware-Diy_Base && Firmware-Diy
|
||||
Firmware-Diy_Base
|
||||
source $GITHUB_WORKSPACE/openwrt/VARIABLE_FILE_Sec && Firmware-Diy
|
||||
rm -f .config && cp $GITHUB_WORKSPACE/Configs/$DEFAULT_TARGET .config
|
||||
|
||||
- name: SSH Connection to Actions
|
||||
uses: P3TERX/ssh2actions@v1.0.0
|
||||
if: (github.event.inputs.SSH == 'true' && github.event.inputs.SSH != 'false') || contains(github.event.action, 'SSH')
|
||||
env:
|
||||
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
|
||||
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
||||
|
||||
- name: Compile
|
||||
run: |
|
||||
export Compile_Result=false
|
||||
|
|
Loading…
Reference in New Issue