From 625a97d3073ee9093af393ff23c4263f2029f268 Mon Sep 17 00:00:00 2001 From: liyy <18435186204@163.com> Date: Wed, 3 Dec 2025 02:57:46 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20.gitea/workflows/dispatch.?= =?UTF-8?q?yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/dispatch.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .gitea/workflows/dispatch.yaml diff --git a/.gitea/workflows/dispatch.yaml b/.gitea/workflows/dispatch.yaml new file mode 100644 index 0000000..7b96291 --- /dev/null +++ b/.gitea/workflows/dispatch.yaml @@ -0,0 +1,33 @@ +on: + workflow_dispatch: + inputs: + myChoice: + description: '请选择分支' + type: choice + required: true + options: + - default + - dev + - test + - release + myCheck: + description: '请勾选' + type: boolean + required: false + myText: + description: '请输入构建备注' + type: environment + required: true + +jobs: + Explore-Gitea-Actions: + runs-on: default + env: + MY_CHOICE: ${{ inputs.myChoice }} + MY_CHECK: ${{ inputs.myCheck }} + MY_TEXT: ${{ inputs.myText }} + steps: + - run: | + echo ${MY_CHOICE}; + echo ${MY_CHECK}; + echo ${MY_TEXT}; \ No newline at end of file