Update 02-basic-multiple-jobs-needs.yml
هذا الالتزام موجود في:
@@ -24,10 +24,18 @@ jobs:
|
|||||||
# Runs a single command using the runners shell
|
# Runs a single command using the runners shell
|
||||||
- name: Run a one-line script
|
- name: Run a one-line script
|
||||||
run: echo Hello from job1
|
run: echo Hello from job1
|
||||||
|
job1a:
|
||||||
|
# The type of runner that the job will run on
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||||
|
steps:
|
||||||
|
# Runs a single command using the runners shell
|
||||||
|
- name: Run a one-line script
|
||||||
|
run: echo Hello from job1
|
||||||
job2:
|
job2:
|
||||||
# The type of runner that the job will run on
|
# The type of runner that the job will run on
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [job1]
|
needs: [job1, job1a]
|
||||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||||
steps:
|
steps:
|
||||||
# Runs a single command using the runners shell
|
# Runs a single command using the runners shell
|
||||||
|
المرجع في مشكلة جديدة
حظر مستخدم