From 3c0ef42093003449862439df60c5fd3a9e17d32b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thea=20Marie=20Aln=C3=A6s?= Date: Fri, 2 Feb 2024 13:35:00 +0100 Subject: [PATCH] La inn distribution --- .github/workflows/build.yml | 4 +++- .github/workflows/releaseGithub.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 342a0126..d0b1324c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,6 +9,8 @@ jobs: - name: Set up JDK 1.8 uses: actions/setup-java@v4 with: - java-version: 1.8 + distribution: temurin + java-version: 8 + cache: maven - name: Build with Maven run: mvn -T 2C -B clean install diff --git a/.github/workflows/releaseGithub.yml b/.github/workflows/releaseGithub.yml index fa12ef5f..f4d924f8 100644 --- a/.github/workflows/releaseGithub.yml +++ b/.github/workflows/releaseGithub.yml @@ -29,7 +29,9 @@ jobs: - name: Set up JDK 1.8 uses: actions/setup-java@v4 with: - java-version: 1.8 + distribution: temurin + java-version: 8 + cache: maven - name: Deploy artifacts to github maven repository env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}