mirror of
https://github.com/dtolnay/rust-toolchain.git
synced 2025-09-05 15:51:58 +03:00
commit
cc2784cec7
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ runs:
|
||||||
run: |
|
run: |
|
||||||
: parse toolchain version
|
: parse toolchain version
|
||||||
if [[ -z $toolchain ]]; then
|
if [[ -z $toolchain ]]; then
|
||||||
# GitHub does not enforce `required: true` inputs itself. https://github.com/actions/runner/issues/1070
|
# GitHub does not enforce 'required: true' inputs itself. https://github.com/actions/runner/issues/1070
|
||||||
echo "'toolchain' is a required input" >&2
|
echo "'toolchain' is a required input" >&2
|
||||||
exit 1
|
exit 1
|
||||||
elif [[ $toolchain =~ ^stable' '[0-9]+' '(year|month|week|day)s?' 'ago$ ]]; then
|
elif [[ $toolchain =~ ^stable' '[0-9]+' '(year|month|week|day)s?' 'ago$ ]]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue