Skip to content

Commit 52044ef

Browse files
authored
print GITHUB_CONTEXT without using echo
build.yml failed because `echo "$GITHUB_CONTEXT" caused an `argument list too long` error. Try printing GITHUB_CONTEXT with `printenv` instead, to avoid this.
1 parent 8f826b9 commit 52044ef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ jobs:
1313
- name: Dump GitHub context
1414
env:
1515
GITHUB_CONTEXT: ${{ toJson(github) }}
16-
run: echo "$GITHUB_CONTEXT"
16+
run: |
17+
export GITHUB_CONTEXT
18+
printenv GITHUB_CONTEXT
1719
- name: Translate Repo Name For Build Tools filename_prefix
1820
id: repo-name
1921
run: |

0 commit comments

Comments
 (0)