From 1e0f50b0c92b114ab67881515784e438ce452879 Mon Sep 17 00:00:00 2001 From: Damian Mee Date: Mon, 24 May 2021 19:48:01 -0500 Subject: [PATCH] =?UTF-8?q?Fix=20how=20env=20vars=20need=20to=20be=20set?= =?UTF-8?q?=20now=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 17c833a..d4927f5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,17 +26,17 @@ jobs: echo "Nothing to do. Exiting." exit 0 fi - echo ::set-env name=VERSION::"$VERSION" + echo "VERSION=$VERSION" >> $GITHUB_ENV URL="$(./modify-image.sh url)" - echo ::set-env name=SRC_URL::"$URL" - echo ::set-env name=SRC_FILE::"$(basename "$URL")" + echo "SRC_URL=$URL" >> $GITHUB_ENV + echo "SRC_FILE=$(basename "$URL")" >> $GITHUB_ENV - name: Modify Raspberry Pi OS image if: env.VERSION != '' run: | ./modify-image-in-docker.sh - echo ::set-env name=FILE::"$(cd images && ls *-firstboot.zip)" + echo "FILE=$(cd images && ls *-firstboot.zip)" >> $GITHUB_ENV - name: Create Github Release uses: meeDamian/github-release@2.0