Update .gitea/workflow/*.yaml

This commit is contained in:
Hang Cui
2025-10-17 10:19:58 -07:00
parent 7eb71757ea
commit fac212e278
13 changed files with 240 additions and 202 deletions

View File

@@ -0,0 +1,23 @@
name: workflow_dispatch # Name of workflow
on:
workflow_dispatch:
inputs:
username:
description: 'Username'
default: 'Hang'
required: true
type: string
age:
description: 'Age'
required: true
type: number
jobs:
echo-username-age: # Name of job
runs-on: ubuntu-latest
steps:
- name: Echo Username and Age
run: |
echo "Username: ${{ inputs.username }}"
echo "Age: ${{ inputs.age }}"

View File

@@ -0,0 +1,15 @@
name: workflow_run # Name of workflow
on:
workflow_run: # Depend on the workflow completion of "workflow_dispatch"
workflows: ["workflow_dispatch"]
types:
- completed
jobs:
echo-hi-all: # Name of job
runs-on: ubuntu-latest
steps:
- name: Echo "Hi all"
run: |
echo "Hi all"