From b3d80399977ed9c3571d9a80a7f7e6a351e47e51 Mon Sep 17 00:00:00 2001 From: wpbonelli Date: Thu, 4 Sep 2025 06:25:33 -0400 Subject: [PATCH] cleanup --- setup-fortran.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/setup-fortran.sh b/setup-fortran.sh index 3c73d0f..1e23dd6 100755 --- a/setup-fortran.sh +++ b/setup-fortran.sh @@ -100,12 +100,10 @@ install_gcc_choco() mv /c/mingw64 "$RUNNER_TEMP/" # ...and install selected version case $version in - latest|13) - if [ "$version" == "latest" ]; then - choco install mingw --force - else - choco install mingw --version 13.2.0 --force - fi + latest) + choco install mingw --force + 13) + choco install mingw --version 13.2.0 --force # mingw 13 on Windows doesn't create shims (http://disq.us/p/2w5c5tj) # so hide Strawberry compilers and manually add mingw bin dir to PATH mkdir "$RUNNER_TEMP/strawberry"