From 7df0cf32f2bcc29c9f60c9bd85145ee93f8ca723 Mon Sep 17 00:00:00 2001 From: Maschell Date: Tue, 1 Dec 2020 13:07:18 +0100 Subject: [PATCH] [Workflow] Use Environment Files instead of ::set-env --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ddbf942..ea29b32 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,8 +25,8 @@ jobs: - name: Get environment variables id: get_repository_name run: | - echo ::set-env name=REPOSITORY_NAME::$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}' | sed -e "s/:refs//") - echo ::set-env name=DATETIME::$(echo $(date '+%Y%m%d-%H%M%S')) + echo REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}' | sed -e "s/:refs//") >> $GITHUB_ENV + echo DATETIME=$(echo $(date '+%Y%m%d-%H%M%S')) >> $GITHUB_ENV - uses: actions/download-artifact@master with: name: binary