From 18c6dc909669aae8b5e3373c1d1b1ff7595fee93 Mon Sep 17 00:00:00 2001 From: Gautam krishna R Date: Mon, 11 Jan 2021 14:59:47 +0530 Subject: [PATCH] use latest env syntax --- .github/workflows/release-to-github.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-to-github.yml b/.github/workflows/release-to-github.yml index 81569e8..75e4075 100644 --- a/.github/workflows/release-to-github.yml +++ b/.github/workflows/release-to-github.yml @@ -13,7 +13,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set env - run: echo ::set-env name=pkg_version::$(awk '/version/{gsub(/("|",)/,"",$2);print $2}' package.json) + run: echo "pkg_version=$(awk '/version/{gsub(/("|",)/,"",$2);print $2}' package.json)" >> $GITHUB_ENV - name: Create Release id: create_release uses: actions/create-release@v1