We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18015cc commit 9327a32Copy full SHA for 9327a32
.github/workflows/nx.yml
@@ -62,13 +62,11 @@ jobs:
62
contains(github.event.pull_request.labels.*.name, 'ci:normal')
63
id: nx
64
run: |
65
- set -o pipefail
66
-
67
- {
68
- echo 'nx_output<<EOF'
69
- yarn nx run-many -t compile -c production
70
- echo 'EOF'
71
- } | tee -a "$GITHUB_OUTPUT"
+ echo 'nx_output<<EOF' >> "$GITHUB_OUTPUT"
+ yarn nx run-many -t compile -c production 2>&1 | tee -a "$GITHUB_OUTPUT"
+ status=${PIPESTATUS[0]}
+ echo 'EOF' >> "$GITHUB_OUTPUT"
+ exit $status
72
- if: github.event_name == 'pull_request' &&
73
contains(github.event.pull_request.labels.*.name, 'ci:merged')
74
run: yarn nx run-many -t $ALL_TASKS -c production -p="tag:ci:normal,tag:ci:merged"
0 commit comments