aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-09-14 23:44:53 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-09-14 23:44:53 +0300
commit76241242e1d89d9968fef21187a47073d63e1cf7 (patch)
tree24fa7dc270aa267bec37d8d994aa975b85221364
parentREADME: update (diff)
downloadsetup-mingw-76241242e1d89d9968fef21187a47073d63e1cf7.tar.gz
setup-mingw-76241242e1d89d9968fef21187a47073d63e1cf7.zip
Revert "Windows: the latest Chocolatey pkg is broken"test
This reverts commit 12c119036be14cdd99dd5aabffb32e4e2c72b48b.
-rw-r--r--action.yml10
1 files changed, 2 insertions, 8 deletions
diff --git a/action.yml b/action.yml
index d92d72e..d42086e 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 <mutex>,
- # <thread>, 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