Add .jar release

pull/35/head
James Ball 2021-05-10 20:13:29 +01:00
rodzic b955937dbc
commit 9ebdddafd9
3 zmienionych plików z 27 dodań i 1 usunięć

Wyświetl plik

@ -27,7 +27,9 @@ jobs:
with:
body_path: CHANGELOG
tag_name: v${{ env.VERSION }}
files: target/osci-render-${{ env.VERSION }}.exe
files: |
target/osci-render-${{ env.VERSION }}.exe
target/osci-render-${{ env.VERSION }}.jar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: jameshball/osci-render

24
pom.xml
Wyświetl plik

@ -36,6 +36,7 @@
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<id>default-jar</id>
@ -47,6 +48,29 @@
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>sh.ball.gui.Gui</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>