Skip to content

Commit f1eee56

Browse files
committed
Persist Control Plane token for cpflow steps
1 parent 1e46bfe commit f1eee56

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • .github/actions/cpflow-setup-environment

.github/actions/cpflow-setup-environment/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ runs:
6363
exit 1
6464
fi
6565
66+
{
67+
echo "CPLN_TOKEN<<__CPLN_TOKEN__"
68+
echo "$CPLN_TOKEN"
69+
echo "__CPLN_TOKEN__"
70+
} >> "$GITHUB_ENV"
71+
6672
create_output=""
6773
if ! create_output="$(cpln profile create default --org "$ORG" 2>&1)"; then
6874
if ! echo "$create_output" | grep -qi "already exists"; then

0 commit comments

Comments
 (0)