mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
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>
This commit is contained in:
1 parent
71e0f33751
commit
4813d913e3
3 files changed
+5
-5
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user