From feccc3ff8d916005f5a28775fe01a385606e1ec5 Mon Sep 17 00:00:00 2001 From: "sijie.sun" Date: Fri, 10 Jan 2025 21:31:09 +0800 Subject: [PATCH] fix --- .github/workflows/install_rust.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/install_rust.sh b/.github/workflows/install_rust.sh index 8cd8fa1..84edec1 100644 --- a/.github/workflows/install_rust.sh +++ b/.github/workflows/install_rust.sh @@ -9,7 +9,7 @@ echo "TARGET: $TARGET" echo "GUI_TARGET: $GUI_TARGET" echo "OS: $OS" -if [[ $TARGET =~ "^.*win7.*$" ]]; then +if [[ $TARGET =~ ^.*win7.*$ ]]; then echo "Install For Win7" rustup set auto-self-update disable rustup toolchain install nightly