Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

line 4: not: command not found #71

Closed
KamilaBorowska opened this issue Feb 15, 2023 · 0 comments · Fixed by #72
Closed

line 4: not: command not found #71

KamilaBorowska opened this issue Feb 15, 2023 · 0 comments · Fixed by #72

Comments

@KamilaBorowska
Copy link

KamilaBorowska commented Feb 15, 2023

if rustc +${{steps.parse.outputs.toolchain}} --version --verbose | not grep -q '^release: 1\.6[67]\.'; then

This uses not, however not is not a bash keyword. This was probably meant to use ! instead.

@dtolnay dtolnay mentioned this issue Feb 15, 2023
jonasbb added a commit to actions-rust-lang/setup-rust-toolchain that referenced this issue Feb 15, 2023
These issues are reported again rust-toolchain from which the code is
inspired.

dtolnay/rust-toolchain#71

dtolnay/rust-toolchain#69 (review)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant