From c28ffadeaabe4ee84a54144ca73af4b5c2199401 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 1 Jan 2023 23:33:37 +0100 Subject: try the newest MinGW version on Windows --- action.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'action.yml') diff --git a/action.yml b/action.yml index 2fc99c9..4cd1eab 100644 --- a/action.yml +++ b/action.yml @@ -149,21 +149,15 @@ runs: $mingw_lib = Join-Path $mingw_root $prefix lib $pkg = 'mingw' - # As of 2021-01-15, the latest package version (10.2.0) is broken. - # a) I don't think it's been released (at least I haven't found - # any announcements). - # b) It was seemingly built without threading (no , - # , etc.). - $version = '8.1.0' if ($x64) { # If the 32-bit version is installed, we won't detect that. # But it's not that important, and we save a lot of time. - Install-Package $pkg --version $version + Install-Package $pkg } else { # Assuming the 64-bit version is installed. Remove-Package $pkg - Install-Package $pkg --version $version --x86 + Install-Package $pkg --x86 } echo $mingw_bin >> $env:GITHUB_PATH -- cgit v1.2.3