From 27adb553afaf45564f8a76a5a9785ffa0c4f18d9 Mon Sep 17 00:00:00 2001 From: Ercan Ozkaya Date: Tue, 17 Nov 2020 11:56:15 +0300 Subject: [PATCH] set-env is deprecated. See: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ --- .github/workflows/pull-request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 0bac71a..ab6fb6e 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -14,7 +14,7 @@ jobs: - name: Only run on branches whose names start with feature/ or hotfix/ if: startsWith(github.ref, 'refs/heads/feature') || startsWith(github.ref, 'refs/heads/hotfix') shell: bash - run: echo "::set-env name=ISSUE_ID::$(echo $GITHUB_REF | grep -o -E '[0-9]+' | head -1 | sed -e 's/^0\+//')" + run: echo "ISSUE_ID=$(echo $GITHUB_REF | grep -o -E '[0-9]+' | head -1 | sed -e 's/^0\+//')" >> $GITHUB_ENV - name: Get issue data