You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Sharing actions and workflows with your enterprise](https://docs.github.com/en/enterprise-cloud@latest/actions/creating-actions/sharing-actions-and-workflows-with-your-enterprise)
9. Commit the changes into the same `feature/lab04` branch
37
-
10. Open a new pull request from `Pull requests`
38
-
> Make sure it is your repository pull request to not propose changes to the upstream repository. From the drop-down list choose the base repository to be yours.
39
-
11. Complete the pull request and delete the source branch
40
-
12. Go to `Actions` and see the details of your running workflow
41
14
42
-
## 4.2 Final
43
-
<details>
44
-
<summary>job-dependencies.yml</summary>
45
-
46
-
```YAML
47
-
name: 02-2. Dependencies
48
15
49
-
on:
50
-
workflow_dispatch:
51
-
push:
52
-
branches:
53
-
- main
54
-
workflow_call:
55
-
56
-
jobs:
57
-
initial:
58
-
runs-on: ubuntu-latest
59
-
steps:
60
-
- run: echo "This job will be run first."
61
-
fanout1:
62
-
runs-on: ubuntu-latest
63
-
needs: initial
64
-
steps:
65
-
- run: echo "This job will run after the initial job, in parallel with fanout2."
66
-
fanout2:
67
-
runs-on: ubuntu-latest
68
-
needs: initial
69
-
steps:
70
-
- run: echo "This job will run after the initial job, in parallel with fanout1."
71
-
fanout3:
72
-
runs-on: ubuntu-latest
73
-
needs: fanout1
74
-
steps:
75
-
- run: echo "This job will run after the initial job, in parallel with fanout2."
76
-
fanin:
77
-
runs-on: ubuntu-latest
78
-
needs: [fanout1, fanout2]
79
-
steps:
80
-
- run: echo "This job will run after fanout1 and fanout2 have finished."
0 commit comments