From c6c622e6e275cfc8508254ad7a23e5dd04ccef94 Mon Sep 17 00:00:00 2001 From: oldnet888 <258021812@qq.com> Date: Sun, 23 Feb 2025 19:50:46 +0800 Subject: [PATCH] Create manual.yml --- manual.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 manual.yml diff --git a/manual.yml b/manual.yml new file mode 100644 index 0000000..410673c --- /dev/null +++ b/manual.yml @@ -0,0 +1,19 @@ +# .github/workflows/manual-workflow.yml +name: Manual Workflow + +# 允许手动触发 +on: + workflow_dispatch: + # 可以定义输入参数 + inputs: + message: + description: 'Optional message' + required: false + default: 'No message provided' + +jobs: + run: + runs-on: ubuntu-latest + steps: + - name: Print message + run: echo "Manual workflow triggered. Message: ${{ github.event.inputs.message }}"