CI: Use branch-versioned cargo throughout
This commit is contained in:
committed by
mergify[bot]
parent
dd54ea78ac
commit
66c3c6c2b3
@ -1,5 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
here="$(dirname "$0")"
|
||||
cargo="$(readlink -f "${here}/../cargo")"
|
||||
|
||||
set -e
|
||||
|
||||
shifted_args=()
|
||||
@ -37,7 +40,7 @@ for lock_file in $files; do
|
||||
echo "--- [$lock_file]: cargo " "${shifted_args[@]}" "$@"
|
||||
fi
|
||||
|
||||
if (set -x && cd "$(dirname "$lock_file")" && cargo "${shifted_args[@]}" "$@"); then
|
||||
if (set -x && cd "$(dirname "$lock_file")" && "$cargo" "${shifted_args[@]}" "$@"); then
|
||||
# noop
|
||||
true
|
||||
else
|
||||
|
Reference in New Issue
Block a user