Create manual.yml

This commit is contained in:
oldnet888 2025-02-23 19:50:46 +08:00 committed by GitHub
parent eff8c89153
commit c6c622e6e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

19
manual.yml Normal file
View File

@ -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 }}"