Fix deprecated set-env declaration (#106)
* Fix deprecated set-env declaration * Fix add-path and set-env in install-sscache.ps1
This commit is contained in:
@@ -15,5 +15,5 @@ curl -LO $url
|
||||
tar -xzvf "$basename.tar.gz"
|
||||
ls $basename/
|
||||
. $basename/sccache --start-server
|
||||
echo "::add-path::$(pwd)/$basename"
|
||||
echo "::set-env name=RUSTC_WRAPPER::sccache"
|
||||
echo "$(pwd)/$basename" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
||||
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
|
||||
|
||||
Reference in New Issue
Block a user