mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
remove M2_HOME from windows images (#2711)
This commit is contained in:
@@ -95,7 +95,6 @@ $m2_repo = 'C:\ProgramData\m2'
|
|||||||
New-Item -Path $m2_repo -ItemType Directory -Force
|
New-Item -Path $m2_repo -ItemType Directory -Force
|
||||||
|
|
||||||
setx M2 $m2 /M
|
setx M2 $m2 /M
|
||||||
setx M2_HOME $m2_home /M
|
|
||||||
setx M2_REPO $m2_repo /M
|
setx M2_REPO $m2_repo /M
|
||||||
setx MAVEN_OPTS $maven_opts /M
|
setx MAVEN_OPTS $maven_opts /M
|
||||||
|
|
||||||
@@ -108,4 +107,4 @@ Extract-7Zip -Path $archivePath -DestinationPath "C:\"
|
|||||||
|
|
||||||
setx COBERTURA_HOME $coberturaPath /M
|
setx COBERTURA_HOME $coberturaPath /M
|
||||||
|
|
||||||
Invoke-PesterTests -TestFile "Java"
|
Invoke-PesterTests -TestFile "Java"
|
||||||
|
|||||||
Reference in New Issue
Block a user