Skip to content

Commit

Permalink
DEVOPS-7869 multiline strings fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Decard6 committed Jun 12, 2024
1 parent cf3ebd5 commit 946375a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 1password/get-item-field/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ runs:
shell: bash
env:
OP_SERVICE_ACCOUNT_TOKEN: ${{ inputs.op-sa-token }}
run: echo "field=$(op item get ${{ inputs.op-item }} --vault=${{ inputs.op-vault }} --fields label=${{ inputs.op-field }})" >> $GITHUB_OUTPUT
run: echo "field<<EOF"$'\n'"$(op item get ${{ inputs.op-item }} --vault=${{ inputs.op-vault }} --fields label=${{ inputs.op-field }})"$'\n'EOF >> "$GITHUB_OUTPUT"
2 changes: 1 addition & 1 deletion 1password/get-kubeconfig/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ runs:
- name: Decode kubeconfig
id: decode-kubeconfig
shell: bash
run: echo "kubeconfig=$(echo '${{ steps.get-kubeconfig.outputs.field }}' | base64 --decode)" >> $GITHUB_OUTPUT
run: echo "kubeconfig<<EOF"$'\n'"$(echo '${{ steps.get-kubeconfig.outputs.field }}' | tr -d "\"" | base64 --decode)"$'\n'EOF >> "$GITHUB_OUTPUT"

0 comments on commit 946375a

Please sign in to comment.