Remove deprecated usage of set-env in workflows
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
This commit is contained in:
parent
a3e27eb1a0
commit
0d9579e21c
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -145,7 +145,7 @@ jobs:
|
|||||||
command: docker pull docker.pkg.github.com/apache/incubator-nuttx-testing/nuttx-ci-linux
|
command: docker pull docker.pkg.github.com/apache/incubator-nuttx-testing/nuttx-ci-linux
|
||||||
|
|
||||||
- name: Export NuttX Repo SHA
|
- 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
|
- name: Refresh Git Credentials
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
@ -189,7 +189,7 @@ jobs:
|
|||||||
key: ${{ runner.os }}-tools-${{ hashFiles('./sources/testing/cibuild.sh') }}
|
key: ${{ runner.os }}-tools-${{ hashFiles('./sources/testing/cibuild.sh') }}
|
||||||
|
|
||||||
- name: Export NuttX Repo SHA
|
- 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
|
- name: Refresh Git Credentials
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user