添加 .gitea/workflows/dispatch.yaml
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s

This commit is contained in:
liyy 2025-12-03 02:57:46 +00:00
parent 7e1107291c
commit 625a97d307

View File

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