Skip to content

Commit

Permalink
Use Java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
akv3sic committed Dec 27, 2023
1 parent b54865c commit 95b3f68
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,14 @@ jobs:
with:
dotnet-version: 7.0.x
- name: Install .NET MAUI
run: dotnet workload install maui
- name: Restore dependencies
run: dotnet restore
shell: pwsh
run: |
dotnet workload install maui --source https://aka.ms/dotnet6/nuget/index.json --source https://api.nuget.org/v3/index.json
dotnet workload install android maui wasm-tools --source https://aka.ms/dotnet6/nuget/index.json --source https://api.nuget.org/v3/index.json
- uses: actions/setup-java@v2
with:
distribution: 'microsoft'
java-version: '17'
- name: Build
run: dotnet build MauiStoreApp/MauiStoreApp.csproj -c Release -f net7.0-android --no-restore
- name: Upload a Build Artifact
Expand Down

0 comments on commit 95b3f68

Please sign in to comment.