Skip to content

Commit 659b4e2

Browse files
committed
macOS signing & notarisation
1 parent 0674c24 commit 659b4e2

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/release-gradle.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,12 @@ jobs:
140140

141141
- name: Build with Gradle
142142
run: ./gradlew packageDistributionForCurrentOS
143-
env:
143+
env:
144144
ORG_GRADLE_PROJECT_version: ${{ needs.version.outputs.version }}
145145
ORG_GRADLE_PROJECT_group: ${{ vars.GRADLE_GROUP }}
146146
ORG_GRADLE_PROJECT_revision: ${{ needs.version.outputs.revision }}
147+
ORG_GRADLE_PROJECT_compose.desktop.mac.sign: ${{ secrets.PROCESSING_SIGNING }}
148+
ORG_GRADLE_PROJECT_compose.desktop.mac.signing.identity: ${{ secrets.PROCESSING_SIGNING_IDENTITY }}
147149

148150
- name: Upload portables to release
149151
uses: svenstaro/upload-release-action@v2
@@ -157,4 +159,12 @@ jobs:
157159
with:
158160
repo_token: ${{ secrets.GITHUB_TOKEN }}
159161
asset_name: processing-${{ needs.version.outputs.version }}-${{ matrix.os_prefix }}-${{ matrix.arch }}.${{ matrix.extension }}
160-
file: app/build/compose/binaries/main/${{ matrix.binary }}.${{ matrix.extension }}
162+
file: app/build/compose/binaries/main/${{ matrix.binary }}.${{ matrix.extension }}
163+
164+
- name: Notarize DMG
165+
if: runner.os == 'macOS'
166+
run: ./gradlew notarizeDmg
167+
env:
168+
ORG_GRADLE_PROJECT_compose.desktop.mac.notarization.appleID: ${{ secrets.PROCESSING_APPLE_ID }}
169+
ORG_GRADLE_PROJECT_compose.desktop.mac.notarization.password: ${{ secrets.PROCESSING_APP_PASSWORD }}
170+
ORG_GRADLE_PROJECT_compose.desktop.mac.notarization.teamID: ${{ secrets.PROCESSING_TEAM_ID }}

0 commit comments

Comments
 (0)