Skip to content

Commit

Permalink
ci: conditional update on Windows builds (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicceboy authored May 17, 2024
1 parent 9e889ba commit 4eb883d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ci/set_rust_version.bash
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#!/usr/bin/env bash
set -e
rustup update

if [ "$GITHUB_JOB" = "windows" ]; then
rustup set auto-self-update disable
else
rustup update
fi
rustup default $1
rustup target add $2
rustup component add rustfmt clippy

0 comments on commit 4eb883d

Please sign in to comment.