gitea-action-test/.github/workflows/D.yml
LIRUI 4ff121f32c
Some checks failed
Workflow A / job_a (push) Has been cancelled
Sequential Workflows / job_a (push) Successful in 3s
Sequential Workflows / job_b (push) Successful in 3s
Sequential Workflows / job_c (push) Successful in 2s
1027
2024-10-27 19:33:49 +08:00

28 lines
501 B
YAML

name: Sequential Workflows
on:
push:
branches:
- main
jobs:
job_a:
runs-on: ubuntu-latest
steps:
- name: Run Workflow A
run: echo "Running Workflow A"
job_b:
runs-on: ubuntu-latest
needs: job_a # 等待 job_a 完成
steps:
- name: Run Workflow B
run: echo "Running Workflow B"
job_c:
runs-on: ubuntu-latest
needs: job_b # 等待 job_b 完成
steps:
- name: Run Workflow C
run: echo "Running Workflow C"