kopia lustrzana https://github.com/jameshball/osci-render
Add dmg to release for macOS
rodzic
569e050949
commit
3830db3ad3
|
@ -81,6 +81,7 @@ jobs:
|
|||
- name: Build with Maven
|
||||
run: |
|
||||
mvn -B package
|
||||
mvn -B jpackage:jpackage@mac
|
||||
version=$(mvn help:evaluate -Dexpression="project.version" -q -DforceStdout)
|
||||
echo "VERSION=$version" >> $GITHUB_ENV
|
||||
mv target/lib/osci-render-$version.jar target/lib/osci-render-mac-$version.jar
|
||||
|
@ -89,7 +90,9 @@ jobs:
|
|||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
tag_name: v${{ env.VERSION }}
|
||||
files: target/lib/osci-render-mac-${{ env.VERSION }}.jar
|
||||
files: |
|
||||
target/lib/osci-render-${{ env.VERSION }}.dmg
|
||||
target/lib/osci-render-mac-${{ env.VERSION }}.jar
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_REPOSITORY: jameshball/osci-render
|
||||
|
|
11
pom.xml
11
pom.xml
|
@ -86,6 +86,7 @@
|
|||
|
||||
<configuration>
|
||||
<name>osci-render</name>
|
||||
<description>Program for making music by drawing objects on an oscilloscope using audio.</description>
|
||||
<appVersion>${project.version}</appVersion>
|
||||
<vendor>james.ball.sh</vendor>
|
||||
<input>${project.build.directory}/lib</input>
|
||||
|
@ -109,6 +110,16 @@
|
|||
<execution>
|
||||
<id>debian</id>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>mac</id>
|
||||
<configuration>
|
||||
<type>dmg</type>
|
||||
<icon>src/main/resources/icons/icon.icns</icon>
|
||||
<macPackageName>osci-render</macPackageName>
|
||||
<macBundleIdentifier>OsciRender-${project.version}</macBundleIdentifier>
|
||||
<macBundleName>osci-render</macBundleName>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
|
Ładowanie…
Reference in New Issue