0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2025-01-12 17:09:28 -05:00

build: upgrade ci script (#531)

Replace deprecated add-path and set-env with echoing 
to $GITHUB_PATH and $GITHUB_ENV respectively.
This commit is contained in:
Bartek Iwańczuk 2020-11-17 19:57:52 +01:00 committed by GitHub
parent bca41e4cb0
commit 2a9e2e6409
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,8 +91,8 @@ jobs:
sudo ln -s /usr/aarch64-linux-gnu/lib/ld-linux-aarch64.so.1 \
/lib/ld-linux-aarch64.so.1
echo "::set-env name=CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER::/usr/bin/aarch64-linux-gnu-gcc-5"
echo "::set-env name=QEMU_LD_PREFIX::/usr/aarch64-linux-gnu"
echo "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=/usr/bin/aarch64-linux-gnu-gcc-5" >> ${GITHUB_ENV}
echo "QEMU_LD_PREFIX=/usr/aarch64-linux-gnu" >> ${GITHUB_ENV}
- name: Cache
uses: actions/cache@v2
@ -150,13 +150,12 @@ jobs:
$basename = "sccache-$version-$platform"
$url = "https://github.com/mozilla/sccache/releases/download/" +
"$version/$basename.tar.gz"
cd ~
curl -LO $url
tar -xzvf "$basename.tar.gz"
. $basename/sccache --start-server
echo "$(pwd)/$basename" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
echo "::add-path::$(pwd)/$basename"
- name: Test
run: