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:
parent
01e72efb80
commit
26ab00b6c7
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -9,7 +9,7 @@ on:
|
|||||||
env:
|
env:
|
||||||
AWS_REGION: "us-east-1"
|
AWS_REGION: "us-east-1"
|
||||||
AWS_S3_ARTIFACTS_BUCKET: "openethereum-releases"
|
AWS_S3_ARTIFACTS_BUCKET: "openethereum-releases"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build Release
|
name: Build Release
|
||||||
@ -133,7 +133,7 @@ jobs:
|
|||||||
runs-on: ubuntu-16.04
|
runs-on: ubuntu-16.04
|
||||||
steps:
|
steps:
|
||||||
- name: Set env
|
- name: Set env
|
||||||
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/}
|
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
||||||
|
|
||||||
# ==============================
|
# ==============================
|
||||||
# Create ZIP files
|
# Create ZIP files
|
||||||
@ -254,7 +254,7 @@ jobs:
|
|||||||
runs-on: ubuntu-16.04
|
runs-on: ubuntu-16.04
|
||||||
steps:
|
steps:
|
||||||
- name: Set env
|
- name: Set env
|
||||||
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/}
|
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
|
||||||
|
|
||||||
# ==============================
|
# ==============================
|
||||||
# Download artifacts
|
# Download artifacts
|
||||||
|
@ -15,5 +15,5 @@ curl -LO $url
|
|||||||
tar -xzvf "$basename.tar.gz"
|
tar -xzvf "$basename.tar.gz"
|
||||||
ls $basename/
|
ls $basename/
|
||||||
. $basename/sccache --start-server
|
. $basename/sccache --start-server
|
||||||
echo "::add-path::$(pwd)/$basename"
|
echo "$(pwd)/$basename" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
||||||
echo "::set-env name=RUSTC_WRAPPER::sccache"
|
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
|
||||||
|
Loading…
Reference in New Issue
Block a user