diff --git a/.github/workflows/amd64_windows_cmake_java.yml b/.github/workflows/amd64_windows_cmake_java.yml index 4f53556321..190ebf7d3f 100644 --- a/.github/workflows/amd64_windows_cmake_java.yml +++ b/.github/workflows/amd64_windows_cmake_java.yml @@ -38,6 +38,10 @@ jobs: with: distribution: ${{ matrix.java.distrib }} java-version: ${{ matrix.java.version }} + - name: Update maven + run: | + choco upgrade maven + echo "C:\ProgramData\chocolatey\lib\maven\apache-maven-3.9.9\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - name: Check java run: | java -version