Try without backtick?

This commit is contained in:
David Tolnay 2025-08-22 17:39:26 -07:00
parent 5ee21dc396
commit f6642a8e0a
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -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