We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1317de3 commit e8e13d0Copy full SHA for e8e13d0
1 file changed
.github/actions/cpflow-setup-environment/action.yml
@@ -83,6 +83,15 @@ runs:
83
exit 1
84
fi
85
86
+ # Persist the token for later cpflow/cpln steps via env. Use a randomized
87
+ # delimiter so a multiline token cannot terminate the heredoc early.
88
+ delim="CPLN_TOKEN_$(openssl rand -hex 8)"
89
+ {
90
+ echo "CPLN_TOKEN<<${delim}"
91
+ echo "${CPLN_TOKEN}"
92
+ echo "${delim}"
93
+ } >> "$GITHUB_ENV"
94
+
95
create_output=""
96
if ! create_output="$(cpln profile create default --org "$ORG" 2>&1)"; then
97
if ! echo "$create_output" | grep -qi "already exists"; then
0 commit comments