@abgov/nx-oc 8.1.1 → 8.1.2

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/nx-oc",
3
- "version": "8.1.1",
3
+ "version": "8.1.2",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./src/index.js",
6
6
  "description": "Government of Alberta - Nx plugin for OpenShift.",
@@ -62,12 +62,8 @@ 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: |
66
- {
67
- echo 'AFFECTED_APPS<<EOF'
68
- npx nx show projects --affected --type=app --base=${{ env.AFFECTED_BASE }}
69
- echo EOF
70
- } >> "$GITHUB_ENV"
65
+ run: echo "AFFECTED_APPS=$(npx nx show projects --affected --type=app --base=${{ env.AFFECTED_BASE }} | tr '\n' ' ')" >> $GITHUB_ENV
66
+
71
67
  - run: npm prune --production
72
68
 
73
69
  # Run the OC BuildConfigs for create containers.
@@ -90,12 +86,7 @@ jobs:
90
86
  done
91
87
  # Set build job outputs for subsequent jobs.
92
88
  - id: set_outputs
93
- run: |
94
- {
95
- echo 'affected-apps<<EOF'
96
- echo $AFFECTED_APPS
97
- echo EOF
98
- } >> "$GITHUB_OUTPUT"
89
+ run: echo "affected_apps=$AFFECTED_APPS" >> $GITHUB_OUTPUT
99
90
  <% ocEnvProjects.forEach(function(ocEnvProject, i){ -%>
100
91
 
101
92
  deploy<%= envs[i] %>: