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 }}