Sign MacOS Server JAR for Notarization (#15)

* Initial test to sign a server jar for noterization

* Update README and Build.yml

* Remove no Tachidesk jar error
This commit is contained in:
Syer10
2021-07-10 00:42:51 -04:00
committed by GitHub
parent a95f7b0402
commit 7bf2a26fe4
6 changed files with 83 additions and 36 deletions

View File

@@ -30,7 +30,13 @@ jobs:
arch: x64
os: macOS-latest
shell: bash
build: setupTachideskJar packageUberJarForCurrentOS
build: |
setupTachideskJar packageUberJarForCurrentOS \
packageDmg notarizeDmg \
-Pcompose.desktop.mac.sign=true \
-Pcompose.desktop.mac.signing.identity=${{ secrets.APPLE_IDENTITY }} \
-Pcompose.desktop.mac.notarization.appleID=${{ secrets.APPLE_ID }} \
-Pcompose.desktop.mac.notarization.password=${{ secrets.APPLE_PASSWORD }}
setupCl: ./scripts/SetupClUnix.sh
- runtime: win-x64
@@ -67,20 +73,6 @@ 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
- name: Build Mac Package
if: ${{ matrix.runtime == 'osx-x64' }}
uses: eskatos/gradle-command-action@v1
with:
arguments: |
packageDmg notarizeDmg \
-Pcompose.desktop.mac.sign=true \
-Pcompose.desktop.mac.signing.identity=${{ secrets.APPLE_IDENTITY }} \
-Pcompose.desktop.mac.notarization.appleID=${{ secrets.APPLE_ID }} \
-Pcompose.desktop.mac.notarization.password=${{ secrets.APPLE_PASSWORD }}
wrapper-cache-enabled: true
dependencies-cache-enabled: true
configuration-cache-enabled: true
- name: Build rpm Package
if: ${{ matrix.runtime == 'linux-centos-x64' }}
uses: Syer10/CentOS-Java15-Action@v1