Skip to content

Commit

Permalink
GHA: use Java 11 on Windows
Browse files Browse the repository at this point in the history
* in order to fix build errors:
  error XA0031: Java SDK 11.0 or above is required when using .NET 6 or higher.
  Download the latest JDK at: https://aka.ms/msopenjdk
  [D:\a\oxyplot-maui\oxyplot-maui\Source\OxyPlot.Maui.Skia\OxyPlot.Maui.Skia.csproj::TargetFramework=net7.0-android33.0]
  • Loading branch information
janusw committed Nov 21, 2023
1 parent e9f0ae3 commit de8d275
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
- name: Install .NET MAUI
shell: pwsh
run: |
Expand Down

0 comments on commit de8d275

Please sign in to comment.