Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2020-10-14 12:17:54 +0300
committerMichaël Zasso <targos@protonmail.com>2020-10-16 09:09:57 +0300
commitcfbbeea4a1de41f026b6459d7a680a367addbbb0 (patch)
tree9687352b2fff79fe8f9dfec4ac1c30d4dedc1d7a /.github
parent8a93b371a324ddda435589297578209938e255ee (diff)
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.yml4
-rw-r--r--.github/workflows/build-tarball.yml2
-rw-r--r--.github/workflows/commit-queue.yml4
3 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/auto-start-ci.yml b/.github/workflows/auto-start-ci.yml
index 79f3cbd9de6..7a430274d34 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 81f121e2cf2..7e91c8fd007 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 04b7f2be8ae..3e6b0e49080 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