Skip to content

Commit

Permalink
Try a DMG for MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Syer10 committed Jun 6, 2021
1 parent fadd903 commit a5e4f88
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
arch: x64
os: macOS-latest
shell: bash
buildPackage: ./scripts/BuildMacPkg.sh
buildPackage: ./scripts/BuildMacDmg.sh
buildJar: ./scripts/BuildUnixJar.sh

- runtime: win-x64
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
security import certificate.p12 -k build.keychain -P ${{ secrets.APPLE_CERT_PASSWORD }} -T /usr/bin/codesign
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k ${{ secrets.APPLE_KEYCHAIN_PASSWORD }} build.keychain
${{ matrix.buildPackage }} notarizePkg \
${{ matrix.buildPackage }} notarizeDmg \
-Pcompose.desktop.mac.sign=true \
-Pcompose.desktop.mac.signing.identity=${{ secrets.APPLE_IDENTITY }} \
-Pcompose.desktop.mac.notarization.appleID=${{ secrets.APPLE_ID }} \
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ compose.desktop {
TargetFormat.Deb,
TargetFormat.Rpm,
// MacOS
TargetFormat.Pkg
TargetFormat.Dmg
)
modules(
"java.instrument",
Expand Down
4 changes: 2 additions & 2 deletions scripts/BuildMacPkg.sh → scripts/BuildMacDmg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ if test -f "src/main/resources/Tachidesk.jar"; then
rm "src/main/resources/Tachidesk.jar"
fi

echo "Building Pkg package"
./gradlew packagePkg "$@"
echo "Building Dmg package"
./gradlew packageDmg "$@"

0 comments on commit a5e4f88

Please sign in to comment.