diff --git a/.github/workflows/build-artifacts.yml b/.github/workflows/build-artifacts.yml index 2788d6b..ac5c997 100644 --- a/.github/workflows/build-artifacts.yml +++ b/.github/workflows/build-artifacts.yml @@ -37,9 +37,11 @@ jobs: id: setname run: echo "artifact=DutchPickle-${{needs.gitversion.outputs.fullSemVer}}" >> $GITHUB_OUTPUT - name: Setup Java JDK - uses: actions/setup-java@v1.4.4 + uses: actions/setup-java@v3 with: + distribution: temurin java-version: 11 + cache: gradle - name: Build #working-directory: checker run: ./gradlew -PCHECKERVERSION="${{needs.gitversion.outputs.fullSemVer}}" --no-daemon distZip @@ -48,7 +50,7 @@ jobs: mkdir ./build-artifact cp ./build/distributions/DutchPickle.zip ./build-artifact/${{steps.setname.outputs.artifact}}.zip - name: Upload build Artifact - uses: actions/upload-artifact@v3.1.2 + uses: actions/upload-artifact@v3 with: name: ${{steps.setname.outputs.artifact}} path: ./build-artifact/${{steps.setname.outputs.artifact}}.zip diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e69046b..fe68ec1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,9 +14,11 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: Setup Java JDK - uses: actions/setup-java@v1.4.4 - with: + uses: actions/setup-java@v3 + with: + distribution: temurin java-version: 11 + cache: gradle - name: Build #working-directory: checker run: ./gradlew clean build jacocoTestReport