From 00e9a6e7eb2eb1d8676f8fd792b2b58f7736811b Mon Sep 17 00:00:00 2001 From: sebastian-heinz Date: Sat, 8 Jan 2022 13:38:16 +0800 Subject: [PATCH] update workflow --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d632fbf..6f14e74 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,8 +21,8 @@ jobs: run: | VERSION_FILE=${{ github.workspace }}/.version VERSION=$(<"$VERSION_FILE") - echo ::set-env name=VERSION::$VERSION - echo ::set-env name=VERSION_E::$(echo ${GITHUB_SHA} | cut -c1-8) + echo "VERSION=$VERSION" >> $GITHUB_ENV + echo "VERSION_E=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_ENV mkdir ./release for RUNTIME in win-x86 win-x64 linux-x64 osx-x64; do # Server