diff options
author | Michaƫl Zasso <targos@protonmail.com> | 2020-10-14 11:17:54 +0200 |
---|---|---|
committer | Beth Griggs <bgriggs@redhat.com> | 2020-12-07 18:03:49 +0000 |
commit | 4813d913e3f9bb450ce94e2ca9c444d7dce44081 (patch) | |
tree | 44999e61e24b0a4fccbb330061a635ab11c62a07 /.github | |
parent | 71e0f337510a7505249ef54202a2126f2b191962 (diff) | |
download | node-new-4813d913e3f9bb450ce94e2ca9c444d7dce44081.tar.gz |
build: use GITHUB_ENV file to set env variables
The other way is deprecated.
PR-URL: https://github.com/nodejs/node/pull/35638
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/auto-start-ci.yml | 4 | ||||
-rw-r--r-- | .github/workflows/build-tarball.yml | 2 | ||||
-rw-r--r-- | .github/workflows/commit-queue.yml | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/auto-start-ci.yml b/.github/workflows/auto-start-ci.yml index 79f3cbd9de..7a430274d3 100644 --- a/.github/workflows/auto-start-ci.yml +++ b/.github/workflows/auto-start-ci.yml @@ -26,8 +26,8 @@ jobs: - name: Set variables run: | - echo "::set-env name=REPOSITORY::$(echo ${{ github.repository }} | cut -d/ -f2)" - echo "::set-env name=OWNER::${{ github.repository_owner }}" + echo "REPOSITORY=$(echo ${{ github.repository }} | cut -d/ -f2)" >> $GITHUB_ENV + echo "OWNER=${{ github.repository_owner }}" >> $GITHUB_ENV # Get Pull Requests - name: Get Pull Requests diff --git a/.github/workflows/build-tarball.yml b/.github/workflows/build-tarball.yml index 81f121e2cf..7e91c8fd00 100644 --- a/.github/workflows/build-tarball.yml +++ b/.github/workflows/build-tarball.yml @@ -57,7 +57,7 @@ jobs: - name: Extract tarball run: | tar xzf tarballs/*.tar.gz - echo "::set-env name=TAR_DIR::`basename tarballs/*.tar.gz .tar.gz`" + echo "TAR_DIR=`basename tarballs/*.tar.gz .tar.gz`" >> $GITHUB_ENV - name: Copy directories needed for testing run: | cp -r tools/node_modules $TAR_DIR/tools diff --git a/.github/workflows/commit-queue.yml b/.github/workflows/commit-queue.yml index 04b7f2be8a..3e6b0e4908 100644 --- a/.github/workflows/commit-queue.yml +++ b/.github/workflows/commit-queue.yml @@ -40,8 +40,8 @@ jobs: - name: Set variables run: | - echo "::set-env name=REPOSITORY::$(echo ${{ github.repository }} | cut -d/ -f2)" - echo "::set-env name=OWNER::${{ github.repository_owner }}" + echo "REPOSITORY=$(echo ${{ github.repository }} | cut -d/ -f2)" >> $GITHUB_ENV + echo "OWNER=${{ github.repository_owner }}" >> $GITHUB_ENV - name: Get Pull Requests uses: octokit/graphql-action@v2.x |