diff options
author | Be <be@mixxx.org> | 2020-11-22 16:09:26 -0600 |
---|---|---|
committer | Be <be@mixxx.org> | 2020-11-22 17:45:39 -0600 |
commit | 22917757cfb64860186bccecc21e31e9217c3ac9 (patch) | |
tree | a847f9620d09386f40d3401814c4f4b69bd1fe3e /.github/workflows | |
parent | 5311b4ed942cd136cd1b7e0319c0c041f69e66fc (diff) |
GH Actions: fix macOS codesigning
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build.yml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 65be0367f1..a11f1af363 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -70,7 +70,7 @@ jobs: key: macOS-build-environment-${{ steps.buildenv_name.outputs.buildenv_name }} - name: "[macOS] Import Apple code signing identity" - id: codesign + id: apple_codesign if: runner.os == 'macOS' && env.MACOS_CODESIGN_OPENSSL_PASSWORD != null && env.MACOS_CODESIGN_CERTIFICATE_PASSWORD != null run: | # Decrypt the certificate @@ -83,7 +83,7 @@ jobs: security create-keychain -p mixxx Mixxx.keychain security unlock-keychain -p mixxx Mixxx.keychain security import ~/certificate.p12 -k Mixxx.keychain \ - -P "${MACOS_CODESIGN_CERTIFICATE_PASSWORD}" -T /usr/bin/codesign + -P "${MACOS_CODESIGN_CERTIFICATE_PASSWORD}" -A security set-key-partition-list -S "apple-tool:,apple:" -k mixxx Mixxx.keychain # Add keychain to search list security list-keychains -s Mixxx.keychain @@ -179,8 +179,7 @@ jobs: - name: "[macOS] Sign Package" if: runner.os == 'macOS' && env.MACOS_CODESIGN_OPENSSL_PASSWORD != null && env.MACOS_CODESIGN_CERTIFICATE_PASSWORD != null - run: codesign --verbose=4 --deep --force --options runtime --sign "${APPLE_CODESIGN_IDENTITY}" --entitlements ../build/osx/entitlements.plist *.dmg - fi + run: codesign --verbose=4 --options runtime --sign "${APPLE_CODESIGN_IDENTITY}" --entitlements ../build/osx/entitlements.plist *.dmg working-directory: cmake_build - name: "Deploy artifacts" |