From c77f71db5ddc3e2f153e5ad31ca68af595cf1cd5 Mon Sep 17 00:00:00 2001 From: Ali Yousefi Date: Fri, 22 Dec 2023 15:30:17 +0330 Subject: [PATCH] update github actions --- .github/workflows/dotnet-windows.yml | 5 +++++ .github/workflows/nuget-push-public.yml | 5 +++++ 2 files changed, 10 insertions(+) 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