diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
new file mode 100644
index 0000000..daae379
--- /dev/null
+++ b/.github/workflows/maven.yml
@@ -0,0 +1,38 @@
+name: Java CI with Maven
+
+on:
+ push:
+ branches: [ "main" ]
+ pull_request:
+ branches: [ "main" ]
+
+jobs:
+ build:
+ runs-on: windows-latest
+
+ steps:
+ - uses: actions/checkout@v4
+ - name: Set up JDK 11
+ uses: actions/setup-java@v4
+ with:
+ java-version: '11'
+ distribution: 'temurin'
+ cache: maven
+ - name: Build with Maven
+ run: mvn -B package --file pom.xml
+ - name: Set Release version env variable
+ run: |
+ echo "RELEASE_VERSION=$(mvn help:evaluate '-Dexpression=project.version' -q -DforceStdout)" >> $env:GITHUB_ENV
+ - run: mkdir staging && cp target/*.* staging && rm staging/original* && rm staging/*shaded*
+ - uses: actions/upload-artifact@v4
+ with:
+ name: Package
+ path: staging
+ - name: Release
+ uses: softprops/action-gh-release@v1
+ with:
+ name: JDigitalSimulator v$env:RELEASE_VERSION
+ tag_name: $env:RELEASE_VERSION
+ draft: true
+ files: staging/*
+ fail_on_unmatched_files: true
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index c3719aa..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,2 +0,0 @@
-language: java
-install: mvn install -Pci-build -B -V
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 3dd3196..5f33d72 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,6 +7,10 @@
2.3.0
JDigitalSimulator
+ JDigitalSimulator is a plattform independend Electronic Design Automation software entirely build in Java
+
+ Kristian Kraljic
+
http://kra.lc/projects/jdigitalsimulator/
@@ -35,17 +39,17 @@
org.apache.maven.plugins
maven-compiler-plugin
- 3.6.1
+ 3.12.1
-
- 1.7
+
+ 8
org.apache.maven.plugins
maven-shade-plugin
- 3.0.0
+ 3.5.1
package
@@ -75,7 +79,7 @@
com.akathist.maven.plugins.launch4j
launch4j-maven-plugin
- 2.1.0
+ 2.3.3
l4j-clui
@@ -95,8 +99,8 @@
src/main/resources/lc/kra/jds/icon.ico
- 1.7.0
- preferJre
+ %JAVA_HOME%;%PATH%
+ 1.8.0
-Xss4m
--add-opens java.base/java.io=ALL-UNNAMED
@@ -106,7 +110,7 @@
${project.version}.0
${project.version}.0
${project.name}
- 2017 Kristian Kraljic
+ 2024 Kristian Kraljic
${project.version}.0
${project.version}.0
${project.name}
@@ -120,7 +124,7 @@
maven-assembly-plugin
- 3.0.0
+ 3.6.0
false