Skip to content

Commit

Permalink
infra: update appveyor.yml to use maven 3.8.8, 3.8.6 is not available…
Browse files Browse the repository at this point in the history
… for download
  • Loading branch information
romani authored and nrmancuso committed Nov 26, 2023
1 parent e4942b9 commit 62bfc71
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@ branches:
install:
- ps: |
Add-Type -AssemblyName System.IO.Compression.FileSystem
if (!(Test-Path -Path "C:\maven\apache-maven-3.8.6" )) {
if (!(Test-Path -Path "C:\maven\apache-maven-3.8.8" )) {
(new-object System.Net.WebClient).DownloadFile(
'https://downloads.apache.org/maven/maven-3/3.8.6/binaries/apache-maven-3.8.6-bin.zip',
'https://downloads.apache.org/maven/maven-3/3.8.8/binaries/apache-maven-3.8.8-bin.zip',
'C:\maven-bin.zip'
)
[System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", "C:\maven")
}
- cmd: SET M2_HOME=C:\maven\apache-maven-3.8.6
- cmd: SET M2_HOME=C:\maven\apache-maven-3.8.8
- cmd: SET PATH=%M2_HOME%\bin;%JAVA_HOME%\bin;%PATH%
- cmd: git config core.autocrlf
- cmd: mvn --version
- cmd: java -version

cache:
- C:\maven\apache-maven-3.8.6
- C:\maven\apache-maven-3.8.8
- C:\Users\appveyor\.m2

matrix:
Expand Down Expand Up @@ -72,5 +72,5 @@ build_script:
}
- ps: ./.ci/validation.cmd git_diff
- ps: echo "Size of caches (bytes):"
- ps: Get-ChildItem -Recurse 'C:\maven\apache-maven-3.8.6' | Measure-Object -Property Length -Sum
- ps: Get-ChildItem -Recurse 'C:\maven\apache-maven-3.8.8' | Measure-Object -Property Length -Sum
- ps: Get-ChildItem -Recurse 'C:\Users\appveyor\.m2' | Measure-Object -Property Length -Sum

0 comments on commit 62bfc71

Please sign in to comment.