@abgov/nx-oc 8.1.0-beta.3 → 8.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -62,7 +62,12 @@ jobs:
|
|
|
62
62
|
run: npx nx affected --target=build --base=${{ env.AFFECTED_BASE }} --configuration production
|
|
63
63
|
# Set affected apps to env for later steps and jobs.
|
|
64
64
|
- name: Set AFFECTED_APPS for OC steps
|
|
65
|
-
run:
|
|
65
|
+
run: |
|
|
66
|
+
{
|
|
67
|
+
echo 'AFFECTED_APPS<<EOF'
|
|
68
|
+
npx nx show projects --affected --type=app --base=${{ env.AFFECTED_BASE }}
|
|
69
|
+
echo EOF
|
|
70
|
+
} >> "$GITHUB_ENV"
|
|
66
71
|
- run: npm prune --production
|
|
67
72
|
|
|
68
73
|
# Run the OC BuildConfigs for create containers.
|
|
@@ -85,7 +90,12 @@ jobs:
|
|
|
85
90
|
done
|
|
86
91
|
# Set build job outputs for subsequent jobs.
|
|
87
92
|
- id: set_outputs
|
|
88
|
-
run:
|
|
93
|
+
run: |
|
|
94
|
+
{
|
|
95
|
+
echo 'affected-apps<<EOF'
|
|
96
|
+
echo $AFFECTED_APPS
|
|
97
|
+
echo EOF
|
|
98
|
+
} >> "$GITHUB_OUTPUT"
|
|
89
99
|
<% ocEnvProjects.forEach(function(ocEnvProject, i){ -%>
|
|
90
100
|
|
|
91
101
|
deploy<%= envs[i] %>:
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"type": "string",
|
|
28
28
|
"description": "Jenkins or GitHub Actions based pipeline.",
|
|
29
29
|
"alias": "t",
|
|
30
|
-
"
|
|
30
|
+
"default": "actions"
|
|
31
31
|
},
|
|
32
32
|
"envs": {
|
|
33
33
|
"type": "string",
|