From 7718d70e3bcae7cff767d9d76b91ec590fc2a8cc Mon Sep 17 00:00:00 2001 From: Martin Kubicki Date: Fri, 2 Aug 2024 13:57:18 +0200 Subject: [PATCH] Fix --- .github/workflows/release.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4090834..a017e3e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -3,7 +3,7 @@ name: Build and Release on: push: branches: - - main # Change this to your default branch if it's not 'main' + - main # Change this to your default branch if it's not 'main' jobs: build: @@ -16,7 +16,8 @@ jobs: - name: Set up JDK uses: actions/setup-java@v2 with: - java-version: '11' # Change this to your required Java version + java-version: "11" # Change this to your required Java version + distribution: "temurin" # Specify the JDK distribution (e.g., 'temurin', 'adopt', etc.) - name: Build with Maven run: mvn clean package @@ -36,4 +37,4 @@ jobs: This release includes the JAR file built from the latest commit. files: target/mateo-screenshot-tool.jar env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}