From 8c51419c9be03e60c791edbdfdfc7ecda1a1ca3e Mon Sep 17 00:00:00 2001 From: Anatolii Kmetiuk Date: Wed, 25 Nov 2020 11:26:35 +0100 Subject: [PATCH] Revert to the old way of setting envvars in CI file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The new one specified here – https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#setting-an-environment-variable – does not work for some reason (see https://github.com/lampepfl/dotty/runs/1450211624?check_suite_focus=true ). I don't have the time to investigate why the new way fails, so reverting to the tried-and-true old way now. --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a2b9b6f869a9..ca1d727a20f0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -374,7 +374,7 @@ jobs: ./project/scripts/sbt dist/packArchive sha256sum dist/target/scala3-* > dist/target/sha256sum.txt ./project/scripts/sbtPublish ";project scala3-bootstrapped ;publishSigned ;sonatypeBundleRelease" - echo "name=RELEASE_TAG::${GITHUB_REF#*refs/tags/}" >> $GITHUB_ENV + echo "::set-env name=RELEASE_TAG::${GITHUB_REF#*refs/tags/}" - name: Create GitHub Release id: create_gh_release