Explorar o código

Gitlab ci config

Ondřej Schlaichert hai 8 meses
pai
achega
c208e80628
Modificáronse 2 ficheiros con 13 adicións e 3 borrados
  1. 10 0
      .gitlab-ci.yml
  2. 3 3
      pom.xml

+ 10 - 0
.gitlab-ci.yml

@@ -0,0 +1,10 @@
+image: maven:3.9.11-eclipse-temurin-25
+
+build:
+  script:
+    - "mvn javafx:jlink -B"
+  artifacts:
+    paths:
+      - "target/*.zip"
+  only:
+    - main

+ 3 - 3
pom.xml

@@ -61,9 +61,9 @@
                         <id>default-cli</id>
                         <configuration>
                             <mainClass>eu.oschl.schmorn.Main</mainClass>
-                            <launcher>app</launcher>
-                            <jlinkZipName>app</jlinkZipName>
-                            <jlinkImageName>app</jlinkImageName>
+                            <launcher>schmorn</launcher>
+                            <jlinkZipName>schmorn</jlinkZipName>
+                            <jlinkImageName>schmorn</jlinkImageName>
                             <noManPages>true</noManPages>
                             <stripDebug>true</stripDebug>
                             <noHeaderFiles>true</noHeaderFiles>