From ca6e34a07137ef0c56e5e24f998f4a5acb2d6867 Mon Sep 17 00:00:00 2001 From: ZeldaZach Date: Sun, 5 Jan 2025 23:19:02 -0500 Subject: [PATCH] Try another GHA maybe --- .github/workflows/desktop-build.yml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/.github/workflows/desktop-build.yml b/.github/workflows/desktop-build.yml index 3b0ca986f..bf333531b 100644 --- a/.github/workflows/desktop-build.yml +++ b/.github/workflows/desktop-build.yml @@ -319,14 +319,28 @@ jobs: # echo "Attach staple" # xcrun stapler staple "/Users/runner/work/Cockatrice/Cockatrice/build/cockatrice/cockatrice.app" - - - name: Sign binary + - name: Sign binary 2 uses: lando/code-sign-action@v3 with: - file: ${{steps.build.outputs.path}} + file: path/to/binary certificate-data: ${{ secrets.PROD_MACOS_CERTIFICATE }} - certificate-id: STKV3NKYBF certificate-password: ${{ secrets.PROD_MACOS_CERTIFICATE_PWD }} + certificate-id: STKV3NKYBF + apple-notary-user: ${{ secrets.PROD_MACOS_NOTARIZATION_APPLE_ID }} + apple-notary-password: ${{ secrets.PROD_MACOS_NOTARIZATION_PWD }} +# apple-notary-tool: altool + apple-team-id: STKV3NKYBF + apple-product-id: cockatrice.us.code-sign-action + options: --options runtime -v + + + # - name: Sign binary +# uses: lando/code-sign-action@v3 +# with: +# file: ${{steps.build.outputs.path}} +# +# + - name: Upload artifact if: matrix.make_package