File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -85,17 +85,23 @@ runs:
85
85
86
86
- run : |
87
87
: disable incremental compilation
88
- echo CARGO_INCREMENTAL=0 >> $GITHUB_ENV
88
+ if [ -z ${CARGO_INCREMENTAL+set} ]; then
89
+ echo CARGO_INCREMENTAL=0 >> $GITHUB_ENV
90
+ fi
89
91
shell: bash
90
92
91
93
- run : |
92
94
: enable colors in Cargo output
93
- echo CARGO_TERM_COLOR=always >> $GITHUB_ENV
95
+ if [ -z ${CARGO_TERM_COLOR+set} ]; then
96
+ echo CARGO_TERM_COLOR=always >> $GITHUB_ENV
97
+ fi
94
98
shell: bash
95
99
96
100
- run : |
97
101
: enable Cargo sparse registry # ignored by stable cargo
98
- echo CARGO_UNSTABLE_SPARSE_REGISTRY=true >> $GITHUB_ENV
102
+ if [ -z ${CARGO_UNSTABLE_SPARSE_REGISTRY+set} ]; then
103
+ echo CARGO_UNSTABLE_SPARSE_REGISTRY=true >> $GITHUB_ENV
104
+ fi
99
105
shell: bash
100
106
101
107
- run : rustc +${{steps.parse.outputs.toolchain}} --version --verbose
You can’t perform that action at this time.
0 commit comments