Skip to content

Commit

Permalink
feat: Config
Browse files Browse the repository at this point in the history
  • Loading branch information
dango2887 committed Aug 24, 2023
1 parent cdac934 commit 90f56ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/grouped.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:

job2:
runs-on: windows-latest
needs: group2_job1
steps:
- name: 执行作业2
run: echo "Job 2 is running"
Expand All @@ -28,7 +29,7 @@ jobs:

group1_job2:
runs-on: ubuntu-latest
needs: group1_job1 # Group 1 Job 2 依赖于 Group 1 Job 1
needs: group1_job1, job1 # Group 1 Job 2 依赖于 Group 1 Job 1
steps:
- name: Step 1 in Group 1 Job 2
run: echo "Step 1 in Group 1 Job 2"
Expand Down

0 comments on commit 90f56ea

Please sign in to comment.