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 63
63
- name : Set LD_LIBRARY_PATH (Linux)
64
64
run : |
65
65
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
67
67
68
68
- name : Build
69
69
run : cargo build --features deny-warnings
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ jobs:
112
112
if : runner.os == 'Linux'
113
113
run : |
114
114
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
116
116
- name : Link rustc dylib (MacOS)
117
117
if : runner.os == 'macOS'
118
118
run : |
@@ -122,9 +122,9 @@ jobs:
122
122
- name : Set PATH (Windows)
123
123
if : runner.os == 'Windows'
124
124
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
128
128
129
129
- name : Build
130
130
run : cargo build --features deny-warnings
Original file line number Diff line number Diff line change @@ -34,10 +34,10 @@ jobs:
34
34
if : startswith(github.ref, 'refs/tags/')
35
35
run : |
36
36
TAG=$(basename ${{ github.ref }})
37
- echo "::set-env name= TAG_NAME:: $TAG"
37
+ echo "TAG_NAME= $TAG" >> $GITHUB_ENV
38
38
- name : Set beta to true
39
39
if : github.ref == 'refs/heads/beta'
40
- run : echo "::set-env name= BETA:: true"
40
+ run : echo "BETA= true" >> $GITHUB_ENV
41
41
42
42
- name : Use scripts and templates from master branch
43
43
run : |
You can’t perform that action at this time.
0 commit comments