diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 3209b7a8..a497651b 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -20,6 +20,11 @@ jobs: uses: actions/setup-dotnet@v1 with: dotnet-version: ${{ env.DOTNET_VERSION }} + - uses: actions/setup-java@v2 + with: + distribution: 'zulu' + java-version: '11' + cache: 'gradle' - name: Install MAUI run: dotnet workload install maui - name: Add msbuild to PATH diff --git a/.github/workflows/dotnet-core-unit-testing.yml b/.github/workflows/dotnet-core-unit-testing.yml index 749b64fc..46f26bdc 100644 --- a/.github/workflows/dotnet-core-unit-testing.yml +++ b/.github/workflows/dotnet-core-unit-testing.yml @@ -18,6 +18,11 @@ jobs: uses: actions/setup-dotnet@v1 with: dotnet-version: ${{ env.DOTNET_VERSION }} + - uses: actions/setup-java@v2 + with: + distribution: 'zulu' + java-version: '11' + cache: 'gradle' - name: Install MAUI run: dotnet workload install maui - name: Install dependencies