Skip to content

Commit

Permalink
Update maven-build-exe.yml (v4)
Browse files Browse the repository at this point in the history
  • Loading branch information
micycle1 authored Dec 26, 2024
1 parent ad247ad commit 3309072
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/maven-build-exe.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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

0 comments on commit 3309072

Please sign in to comment.