mirror of
https://github.com/actions/runner-images.git
synced 2025-12-12 12:06:59 +00:00
[Windows] Remove exact maven version to install (#3975)
This commit is contained in:
committed by
GitHub
parent
1cbea05824
commit
d2c7eb1dfa
@@ -103,7 +103,7 @@ foreach ($jdkVersion in $jdkVersions) {
|
||||
# Install Java tools
|
||||
# Force chocolatey to ignore dependencies on Ant and Maven or else they will download the Oracle JDK
|
||||
Choco-Install -PackageName ant -ArgumentList "-i"
|
||||
Choco-Install -PackageName maven -ArgumentList "-i", "--version=3.8.1"
|
||||
Choco-Install -PackageName maven -ArgumentList "-i"
|
||||
Choco-Install -PackageName gradle
|
||||
|
||||
# Move maven variables to Machine. They may not be in the environment for this script so we need to read them from the registry.
|
||||
|
||||
Reference in New Issue
Block a user