diff --git a/.github/workflows/maven-build-exe.yml b/.github/workflows/maven-build-exe.yml index 57cd958..ac81772 100644 --- a/.github/workflows/maven-build-exe.yml +++ b/.github/workflows/maven-build-exe.yml @@ -1,6 +1,5 @@ # This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven - name: Maven Build .exe on: @@ -11,20 +10,18 @@ on: jobs: build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v2 + - uses: actions/checkout@v4 + - name: Set up JDK 23 + uses: actions/setup-java@v4 with: - java-version: '11' - distribution: 'adopt' + java-version: '23' + distribution: 'temurin' # Oracle has discontinued their OpenJDK distribution cache: maven - name: Build with Maven run: mvn -B -Pexe package --file pom.xml - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: Project16x16.exe path: target/*.exe