mirror of
https://github.com/Suwayomi/TachideskJUI.git
synced 2026-01-21 19:22:35 +01:00
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:
22
.github/workflows/Build.yml
vendored
22
.github/workflows/Build.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user