gitea-action-test/.github/workflows/D.yml

28 lines
501 B
YAML
Raw Normal View History

2024-10-27 11:33:49 +00:00
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"