mirror of
https://github.com/ARMSX2/ARMSX2.git
synced 2026-08-24 16:50:16 -07:00
Notarize macOS UI release bundle
This commit is contained in:
@@ -25,6 +25,10 @@ on:
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
bundleMacOSUI:
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
sign_and_notarize:
|
||||
required: false
|
||||
type: boolean
|
||||
@@ -163,6 +167,16 @@ jobs:
|
||||
run: |
|
||||
mv build/pcsx2*/ARMSX2.app ARMSX2.app
|
||||
|
||||
- name: Build ARMSX2 macOS UI Bundle
|
||||
if: ${{ inputs.bundleMacOSUI == true || inputs.bundleMacOSUI == 'true' }}
|
||||
run: |
|
||||
BACKEND_APP_SOURCE="$PWD/ARMSX2.app" \
|
||||
REQUIRE_BACKEND=1 \
|
||||
SKIP_CODESIGN=1 \
|
||||
./scripts/build-macos-ui.sh
|
||||
rm -rf ARMSX2.app
|
||||
mv "build-macos-ui/ARMSX2-MacOS 2.1.app" ARMSX2.app
|
||||
|
||||
- name: Pull the Signing Keys and Notarization Credentials
|
||||
if: ${{ inputs.sign_and_notarize == true && env.SIGN_KEY }}
|
||||
run: |
|
||||
|
||||
@@ -15,6 +15,7 @@ jobs:
|
||||
with:
|
||||
jobName: "MacOS arm64 Build"
|
||||
artifactPrefixName: "ARMSX2-macos-Qt-arm64"
|
||||
bundleMacOSUI: true
|
||||
# Notarization needs the APPLE_* repo secrets; it is skipped automatically
|
||||
# when they are absent (see the `env.SIGN_KEY` guard in macos_build.yml).
|
||||
sign_and_notarize: true
|
||||
|
||||
Reference in New Issue
Block a user