Remove deprecated usage of set-env in workflows

Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
This commit is contained in:
Brennan Ashton 2020-11-08 15:00:33 -08:00 committed by Xiang Xiao
parent a3e27eb1a0
commit 0d9579e21c

View File

@ -145,7 +145,7 @@ jobs:
command: docker pull docker.pkg.github.com/apache/incubator-nuttx-testing/nuttx-ci-linux
- name: Export NuttX Repo SHA
run: echo "::set-env name=nuttx_sha::`git -C sources/nuttx rev-parse HEAD`"
run: echo "nuttx_sha=`git -C sources/nuttx rev-parse HEAD`" >> $GITHUB_ENV
- name: Refresh Git Credentials
uses: actions/checkout@v2
with:
@ -189,7 +189,7 @@ jobs:
key: ${{ runner.os }}-tools-${{ hashFiles('./sources/testing/cibuild.sh') }}
- name: Export NuttX Repo SHA
run: echo "::set-env name=nuttx_sha::`git -C sources/nuttx rev-parse HEAD`"
run: echo "nuttx_sha=`git -C sources/nuttx rev-parse HEAD`" >> $GITHUB_ENV
- name: Refresh Git Credentials
uses: actions/checkout@v2
with: