From e33c88af64ad7be2b66ec4544527690d79f10d0b Mon Sep 17 00:00:00 2001 From: Katy Baulch <46493669+katybaulch@users.noreply.github.com> Date: Thu, 2 May 2024 11:46:09 +0100 Subject: [PATCH] Correct env var name --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 1f8ad73..079f2b6 100644 --- a/action.yml +++ b/action.yml @@ -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