Skip to content

Commit

Permalink
Correct env var name
Browse files Browse the repository at this point in the history
  • Loading branch information
katybaulch committed May 2, 2024
1 parent 2cd0345 commit e33c88a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ runs:
if: ${{ always() && (inputs.pr_body == '' && inputs.pr_number == '') && steps.get_pr_data.outputs.result && (fromJSON(steps.get_pr_data.outputs.result).number && fromJSON(steps.get_pr_data.outputs.result).body) }}
shell: bash
run: |
echo "::set-env name=PULL_NUMBER::$(echo ${{ steps.get_pr_data.outputs.result }} | awk '/^## Proposed version/,/^Notes:/ {if (!/^## Proposed version/ && !/^Notes:/) print}')"
echo "::set-env name=env3::$(echo ${{ steps.get_pr_data.outputs.result }} | awk '/^## Proposed version/,/^Notes:/ {if (!/^## Proposed version/ && !/^Notes:/) print}')"
echo "${env3}"
- name: Set PR body as a multiline env var unquoted
Expand Down

0 comments on commit e33c88a

Please sign in to comment.