From 904bcc57c807ec83c04671698cd25e767f8993a7 Mon Sep 17 00:00:00 2001 From: Tonyha7 <041202yuan@gmail.com> Date: Sat, 8 Oct 2022 09:12:03 +0800 Subject: [PATCH] 2 --- .github/workflows/{main.yml => Gen.yml} | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) rename .github/workflows/{main.yml => Gen.yml} (85%) diff --git a/.github/workflows/main.yml b/.github/workflows/Gen.yml similarity index 85% rename from .github/workflows/main.yml rename to .github/workflows/Gen.yml index 2627401..2818a08 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/Gen.yml @@ -1,8 +1,12 @@ -name: Gen +name: 生成TWRP设备树 on: workflow_dispatch: inputs: + PY: + description: 'Python3版本(推荐3.6/3.9)' + required: true + default: '3.9' IMG: description: 'IMG直链' required: true @@ -22,7 +26,7 @@ jobs: - name: 准备Python3 uses: actions/setup-python@v4 with: - python-version: '3.9' + python-version: ${{ github.event.inputs.PY }} cache: 'pip' - name: 准备twrpdtgen