mirror of
https://github.com/imsyy/home.git
synced 2025-05-20 05:00:14 +09:00
Create manual.yml
This commit is contained in:
parent
eff8c89153
commit
c6c622e6e2
19
manual.yml
Normal file
19
manual.yml
Normal 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 }}"
|
Loading…
Reference in New Issue
Block a user