-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.json
40 lines (40 loc) · 920 Bytes
/
project.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"name": "org",
"$schema": "node_modules/nx/schemas/project-schema.json",
"sourceRoot": "src",
"projectType": "library",
"tags": [],
"targets": {
"first":{
"executor": "nx:run-commands",
"inputs":[{
"runtime":"/bin/echo -n \"${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}\""
}],
"outputs": ["{workspaceRoot}/output.txt"],
"options": {
"parallel": false,
"commands": [
"echo \"${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}\" > output.txt",
"cat output.txt"
]
}
},
"second":{
"dependsOn": ["first"],
"executor": "nx:run-commands",
"inputs": [
"{workspaceRoot}/buster",
{
"dependentTasksOutputFiles":"**/output.txt"
}
],
"outputs": [],
"options": {
"parallel": false,
"commands": [
"cat output.txt"
]
}
}
}
}