mirror of
https://github.com/dtolnay/rust-toolchain.git
synced 2024-11-14 13:36:34 +02:00
Merge pull request #106 from dtolnay/noxargo
Skip xargo installation for miri toolchain
This commit is contained in:
commit
9a6ad42c5a
1 changed files with 2 additions and 6 deletions
|
@ -43,12 +43,8 @@ for tool in clippy miri; do
|
||||||
echo "Updating $tool branch"
|
echo "Updating $tool branch"
|
||||||
git checkout --quiet --detach nightly
|
git checkout --quiet --detach nightly
|
||||||
git branch --quiet --delete --force $tool &>/dev/null || true
|
git branch --quiet --delete --force $tool &>/dev/null || true
|
||||||
if [ $tool == miri ]; then
|
default=$tool
|
||||||
default="miri, rust-src"
|
if [ $tool == miri ]; then default+=,\ rust-src; fi
|
||||||
echo -e " - uses: dtolnay/install@xargo\n with:\n bin: xargo-check" >> action.yml
|
|
||||||
else
|
|
||||||
default=$tool
|
|
||||||
fi
|
|
||||||
sed -i "/required: false/{N;s/\n$/\n default: $default\n/}" action.yml
|
sed -i "/required: false/{N;s/\n$/\n default: $default\n/}" action.yml
|
||||||
git add action.yml
|
git add action.yml
|
||||||
git commit --quiet --message "components: $tool"
|
git commit --quiet --message "components: $tool"
|
||||||
|
|
Loading…
Reference in a new issue