Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
build: Use GITHUB_ENV instead of set-env
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

> Action and workflow authors who are setting environment variables via stdout should update any usage of the set-env and add-path workflow commands to use the new environment files.
  • Loading branch information
peaceiris committed Oct 15, 2020
commit 52c7afe6c283bd2274652775a17ecfd4244f91cc
4 changes: 2 additions & 2 deletions .github/workflows/auto-start-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/commit-queue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,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
Expand Down