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
|
- name: Build with Maven
|
||||||
run: |
|
run: |
|
||||||
mvn -B package
|
mvn -B package
|
||||||
|
mvn -B jpackage:jpackage@mac
|
||||||
version=$(mvn help:evaluate -Dexpression="project.version" -q -DforceStdout)
|
version=$(mvn help:evaluate -Dexpression="project.version" -q -DforceStdout)
|
||||||
echo "VERSION=$version" >> $GITHUB_ENV
|
echo "VERSION=$version" >> $GITHUB_ENV
|
||||||
mv target/lib/osci-render-$version.jar target/lib/osci-render-mac-$version.jar
|
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
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
tag_name: v${{ env.VERSION }}
|
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:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
GITHUB_REPOSITORY: jameshball/osci-render
|
GITHUB_REPOSITORY: jameshball/osci-render
|
||||||
|
|
11
pom.xml
11
pom.xml
|
@ -86,6 +86,7 @@
|
||||||
|
|
||||||
<configuration>
|
<configuration>
|
||||||
<name>osci-render</name>
|
<name>osci-render</name>
|
||||||
|
<description>Program for making music by drawing objects on an oscilloscope using audio.</description>
|
||||||
<appVersion>${project.version}</appVersion>
|
<appVersion>${project.version}</appVersion>
|
||||||
<vendor>james.ball.sh</vendor>
|
<vendor>james.ball.sh</vendor>
|
||||||
<input>${project.build.directory}/lib</input>
|
<input>${project.build.directory}/lib</input>
|
||||||
|
@ -109,6 +110,16 @@
|
||||||
<execution>
|
<execution>
|
||||||
<id>debian</id>
|
<id>debian</id>
|
||||||
</execution>
|
</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>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
|
|
Ładowanie…
Reference in New Issue