aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-01-15 19:28:32 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-01-15 19:28:32 +0300
commitf3c5d799aadf8fa230ac67a422b01dd085bbc96b (patch)
tree0c74eb95f01c9dd3635f578bdba97a6555b3a67a
parentWindows: choco scripting best practices (diff)
downloadsetup-mingw-f3c5d799aadf8fa230ac67a422b01dd085bbc96b.tar.gz
setup-mingw-f3c5d799aadf8fa230ac67a422b01dd085bbc96b.zip
restore helpful commentsv2.0.0
-rw-r--r--action.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/action.yml b/action.yml
index 181e709..6fceddb 100644
--- a/action.yml
+++ b/action.yml
@@ -157,8 +157,11 @@ runs:
$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
} else {
+ # Assuming the 64-bit version is installed.
Remove-Package $pkg
Install-Package $pkg --version $version --x86
}