mirror of
https://github.com/processing/processing4.git
synced 2026-04-19 10:49:28 +02:00
macOS signing & notarisation
This commit is contained in:
14
.github/workflows/release-gradle.yml
vendored
14
.github/workflows/release-gradle.yml
vendored
@@ -140,10 +140,12 @@ jobs:
|
||||
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew packageDistributionForCurrentOS
|
||||
env:
|
||||
env:
|
||||
ORG_GRADLE_PROJECT_version: ${{ needs.version.outputs.version }}
|
||||
ORG_GRADLE_PROJECT_group: ${{ vars.GRADLE_GROUP }}
|
||||
ORG_GRADLE_PROJECT_revision: ${{ needs.version.outputs.revision }}
|
||||
ORG_GRADLE_PROJECT_compose.desktop.mac.sign: ${{ secrets.PROCESSING_SIGNING }}
|
||||
ORG_GRADLE_PROJECT_compose.desktop.mac.signing.identity: ${{ secrets.PROCESSING_SIGNING_IDENTITY }}
|
||||
|
||||
- name: Upload portables to release
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
@@ -157,4 +159,12 @@ jobs:
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
asset_name: processing-${{ needs.version.outputs.version }}-${{ matrix.os_prefix }}-${{ matrix.arch }}.${{ matrix.extension }}
|
||||
file: app/build/compose/binaries/main/${{ matrix.binary }}.${{ matrix.extension }}
|
||||
file: app/build/compose/binaries/main/${{ matrix.binary }}.${{ matrix.extension }}
|
||||
|
||||
- name: Notarize DMG
|
||||
if: runner.os == 'macOS'
|
||||
run: ./gradlew notarizeDmg
|
||||
env:
|
||||
ORG_GRADLE_PROJECT_compose.desktop.mac.notarization.appleID: ${{ secrets.PROCESSING_APPLE_ID }}
|
||||
ORG_GRADLE_PROJECT_compose.desktop.mac.notarization.password: ${{ secrets.PROCESSING_APP_PASSWORD }}
|
||||
ORG_GRADLE_PROJECT_compose.desktop.mac.notarization.teamID: ${{ secrets.PROCESSING_TEAM_ID }}
|
||||
Reference in New Issue
Block a user