From 06d6f1167056a3170f451cbd193538b59b95f5fd Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 3 Apr 2023 09:50:20 +0100 Subject: [PATCH] Prefer env for passing github context vars (#590) --- .github/workflows/build_prepare.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_prepare.yaml b/.github/workflows/build_prepare.yaml index 310dc81..b118aac 100644 --- a/.github/workflows/build_prepare.yaml +++ b/.github/workflows/build_prepare.yaml @@ -108,8 +108,9 @@ jobs: echo "element-desktop ($VERSION) default; urgency=medium" >> changelog.Debian echo "$BODY" | sed 's/^##/\n */g;s/^\*/ */g' | perl -pe 's/\[.+?]\((.+?)\)/\1/g' >> changelog.Debian echo "" >> changelog.Debian - echo " -- ${{ github.actor }} $TIME" >> changelog.Debian + echo " -- $ACTOR $TIME" >> changelog.Debian env: + ACTOR: ${{ github.actor }} VERSION: v${{ steps.package.outputs.version }} BODY: ${{ steps.release.outputs.body }} PUBLISHED_AT: ${{ steps.release.outputs.published_at }}