Skip to content

Commit

Permalink
gh-actions/github/env/save: Fix escaping (#977)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Northey <[email protected]>
  • Loading branch information
phlax authored Nov 7, 2023
1 parent bce5366 commit 5084391
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gh-actions/github/env/save/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ runs:
shell: bash
run: |
OUTPUT_DIR=$(mktemp -d)
echo '${{ inputs.env }}' >> "$OUTPUT_DIR/${{ inputs.name }}.json"
echo '%s' "$INPUT_ENV" >> "$OUTPUT_DIR/${{ inputs.name }}.json"
echo "directory=${OUTPUT_DIR}" >> $GITHUB_OUTPUT
env:
INPUT_ENV: ${{ inputs.env }}
- name: Upload environment data
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 5084391

Please sign in to comment.