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:
parent
bca41e4cb0
commit
2a9e2e6409
1 changed files with 3 additions and 4 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue