File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 6363 - name : Set LD_LIBRARY_PATH (Linux)
6464 run : |
6565 SYSROOT=$(rustc --print sysroot)
66- echo "::set-env name= LD_LIBRARY_PATH:: ${SYSROOT}/lib${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}"
66+ echo "LD_LIBRARY_PATH= ${SYSROOT}/lib${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}" >> $GITHUB_ENV
6767
6868 - name : Build
6969 run : cargo build --features deny-warnings
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ jobs:
112112 if : runner.os == 'Linux'
113113 run : |
114114 SYSROOT=$(rustc --print sysroot)
115- echo "::set-env name= LD_LIBRARY_PATH:: ${SYSROOT}/lib${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}"
115+ echo "LD_LIBRARY_PATH= ${SYSROOT}/lib${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}" >> $GITHUB_ENV
116116 - name : Link rustc dylib (MacOS)
117117 if : runner.os == 'macOS'
118118 run : |
@@ -122,9 +122,9 @@ jobs:
122122 - name : Set PATH (Windows)
123123 if : runner.os == 'Windows'
124124 run : |
125- $sysroot = rustc --print sysroot
126- $env:PATH += ';' + $sysroot + '\bin'
127- echo "::set-env name=PATH::$env:PATH"
125+ SYSROOT=$( rustc --print sysroot)
126+ echo "$SYSROOT/bin" >> $GITHUB_PATH
127+ shell : bash
128128
129129 - name : Build
130130 run : cargo build --features deny-warnings
Original file line number Diff line number Diff line change @@ -34,10 +34,10 @@ jobs:
3434 if : startswith(github.ref, 'refs/tags/')
3535 run : |
3636 TAG=$(basename ${{ github.ref }})
37- echo "::set-env name= TAG_NAME:: $TAG"
37+ echo "TAG_NAME= $TAG" >> $GITHUB_ENV
3838 - name : Set beta to true
3939 if : github.ref == 'refs/heads/beta'
40- run : echo "::set-env name= BETA:: true"
40+ run : echo "BETA= true" >> $GITHUB_ENV
4141
4242 - name : Use scripts and templates from master branch
4343 run : |
You can’t perform that action at this time.
0 commit comments