File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -34,20 +34,26 @@ jobs:
34
34
)
35
35
36
36
echo "$updates"
37
- echo "updates=$updates" >> $GITHUB_OUTPUT
37
+ # For multiline output, use a heredoc. See https://github.com/orgs/community/discussions/116619#discussioncomment-8994849
38
+ echo "updates<<EOF" >> $GITHUB_OUTPUT
39
+ echo "$updates" >> $GITHUB_OUTPUT
40
+ echo "EOF" >> $GITHUB_OUTPUT
38
41
39
42
- name : Setup spack-config updates
40
43
id : spack-config
41
44
run : |
42
45
updates=$(jq --compact-output --raw-output \
43
46
--arg env "${{ inputs.deployment-environment }}" \
44
47
--arg type "${{ inputs.spack-type }}" \
45
- '.deployment[$env][$type] | to_entries[] | "\(.key) \(.value.spack-config"' \
48
+ '.deployment[$env][$type] | to_entries[] | "\(.key) \(.value.spack-config) "' \
46
49
${{ env.CONFIG_SETTINGS_PATH }}
47
50
)
48
51
49
52
echo "$updates"
50
- echo "updates=$updates" >> $GITHUB_OUTPUT
53
+ # For multiline output, use a heredoc. See https://github.com/orgs/community/discussions/116619#discussioncomment-8994849
54
+ echo "updates<<EOF" >> $GITHUB_OUTPUT
55
+ echo "$updates" >> $GITHUB_OUTPUT
56
+ echo "EOF" >> $GITHUB_OUTPUT
51
57
52
58
- name : Setup SSH
53
59
id : ssh
You can’t perform that action at this time.
0 commit comments