From 53a6a560abb6959445828c1e1ddc075dff12d4db Mon Sep 17 00:00:00 2001 From: moruiris <53965900+moruiris@users.noreply.github.com> Date: Fri, 6 Jan 2023 13:38:55 +0800 Subject: [PATCH] Update Lean_x86.yml --- .github/workflows/Lean_x86.yml | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/.github/workflows/Lean_x86.yml b/.github/workflows/Lean_x86.yml index df65245..44132f9 100644 --- a/.github/workflows/Lean_x86.yml +++ b/.github/workflows/Lean_x86.yml @@ -1,15 +1,9 @@ name: Lean_x86 on: - repository_dispatch: - workflow_dispatch: - inputs: - ssh: - description: 'SSH connection to Actions' - required: false - default: 'false' schedule: - cron: 0 16 * * * + workflow_dispatch: env: REPO_URL: https://github.com/coolsnowwolf/lede @@ -27,8 +21,7 @@ env: jobs: build: runs-on: ubuntu-latest - if: github.event.repository.owner.id == github.event.sender.id - + steps: - name: 检查项目分支 uses: actions/checkout@main @@ -69,13 +62,6 @@ jobs: chmod +x $DIY_P2_SH cd openwrt $GITHUB_WORKSPACE/$DIY_P2_SH - - - name: SSH链接管理 - 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: 下载安装包 id: package