diff --git a/.github/workflows/dotnet-windows.yml b/.github/workflows/dotnet-windows.yml index 84686d3..281d337 100644 --- a/.github/workflows/dotnet-windows.yml +++ b/.github/workflows/dotnet-windows.yml @@ -19,6 +19,11 @@ jobs: 8.0.x - name: Install .NET MAUI workload run: dotnet workload install maui + - name: Set up JDK + uses: actions/setup-java@v2 + with: + distribution: 'adopt' + java-version: '11' - name: Restore dependencies run: | dotnet restore ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln diff --git a/.github/workflows/nuget-push-public.yml b/.github/workflows/nuget-push-public.yml index 68ee5b5..35b7cd3 100644 --- a/.github/workflows/nuget-push-public.yml +++ b/.github/workflows/nuget-push-public.yml @@ -16,6 +16,11 @@ jobs: DOTNET_INSTALL_DIR: /usr/share/dotnet - name: Install .NET MAUI workload run: dotnet workload install maui + - name: Set up JDK + uses: actions/setup-java@v2 + with: + distribution: 'adopt' + java-version: '11' - name: Restore dependencies run: | dotnet restore ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln