Skip to content

Commit

Permalink
handle multiline SSH keys in outputs
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Cragun <[email protected]>
  • Loading branch information
ryancragun committed Nov 15, 2024
1 parent 9ef3d62 commit f3464c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-run-enos-scenario-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ jobs:
echo "github-token=${{ secrets.ELEVATED_GITHUB_TOKEN }}"
echo "radar-license=${{ secrets.RADAR_LICENSE }}"
echo "slack-webhook-url=${{ secrets.SLACK_WEBHOOK_URL }}"
echo "ssh-key=${{ secrets.SSH_KEY_PRIVATE_CI }}"
echo "ssh-key<<EOFSSHKEY"$'\n'"${{ secrets.SSH_KEY_PRIVATE_CI }}"$'\n'EOFSSHKEY
echo "vault-license=${{ secrets.VAULT_LICENSE }}"
} | tee -a "$GITHUB_OUTPUT"
else
Expand All @@ -164,7 +164,7 @@ jobs:
echo "github-token=${{ steps.vault-secrets.outputs.ELEVATED_GITHUB_TOKEN }}"
echo "radar-license=${{ steps.vault-secrets.outputs.RADAR_LICENSE }}"
echo "slack-webhook-url=${{ steps.vault-secrets.outputs.SLACK_WEBHOOK_URL }}"
echo "ssh-key=${{ steps.vault-secrets.outputs.SSH_KEY_PRIVATE_CI }}"
echo "ssh-key<<EOFSSHKEY"$'\n'"${{ steps.vault-secrets.outputs.SSH_KEY_PRIVATE_CI }}"$'\n'EOFSSHKEY
echo "vault-license=${{ steps.vault-secrets.outputs.VAULT_LICENSE }}"
} | tee -a "$GITHUB_OUTPUT"
fi
Expand Down

0 comments on commit f3464c5

Please sign in to comment.