We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b17a489 + 138ed95 commit 25dc93bCopy full SHA for 25dc93b
action.yml
@@ -100,10 +100,10 @@ runs:
100
- run: |
101
: enable Cargo sparse registry
102
# except on 1.66 and 1.67, on which it is unstable
103
- if [ -z ${CARGO_REGISTRIES_CRATES_IO_PROTOCOL+set} ] \
104
- && ! rustc +${{steps.parse.outputs.toolchain}} --version --verbose | grep -q '^release: 1\.6[67]\.'
105
- then
106
- echo CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse >> $GITHUB_ENV
+ if [ -z ${CARGO_REGISTRIES_CRATES_IO_PROTOCOL+set} ]; then
+ if rustc +${{steps.parse.outputs.toolchain}} --version --verbose | not grep -q '^release: 1\.6[67]\.'; then
+ echo CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse >> $GITHUB_ENV
+ fi
107
fi
108
shell: bash
109
0 commit comments