From 72adedb27e278311cc70b499e5c0e68e0ffde8f2 Mon Sep 17 00:00:00 2001 From: shijie-openai Date: Tue, 20 Jan 2026 22:26:05 -0800 Subject: [PATCH] sign binary - apple --- .github/workflows/rust-release.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml index 8c56de10a6..59659b8b22 100644 --- a/.github/workflows/rust-release.yml +++ b/.github/workflows/rust-release.yml @@ -137,18 +137,18 @@ jobs: nslookup appstoreconnect.apple.com curl -Iv --connect-timeout 10 https://appstoreconnect.apple.com/ - # - if: ${{ github.event_name == 'push' && runner.os == 'macOS' }} - # name: MacOS code signing (binaries) - # uses: ./.github/actions/macos-code-sign - # with: - # target: ${{ matrix.target }} - # sign-binaries: "true" - # sign-dmg: "false" - # apple-certificate: ${{ secrets.APPLE_CERTIFICATE_P12 }} - # apple-certificate-password: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }} - # apple-notarization-key-p8: ${{ secrets.APPLE_NOTARIZATION_KEY_P8 }} - # apple-notarization-key-id: ${{ secrets.APPLE_NOTARIZATION_KEY_ID }} - # apple-notarization-issuer-id: ${{ secrets.APPLE_NOTARIZATION_ISSUER_ID }} + - if: ${{ runner.os == 'macOS' }} + name: MacOS code signing (binaries) + uses: ./.github/actions/macos-code-sign + with: + target: ${{ matrix.target }} + sign-binaries: "true" + sign-dmg: "false" + apple-certificate: ${{ secrets.APPLE_CERTIFICATE_P12 }} + apple-certificate-password: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }} + apple-notarization-key-p8: ${{ secrets.APPLE_NOTARIZATION_KEY_P8 }} + apple-notarization-key-id: ${{ secrets.APPLE_NOTARIZATION_KEY_ID }} + apple-notarization-issuer-id: ${{ secrets.APPLE_NOTARIZATION_ISSUER_ID }} # - if: ${{ github.event_name == 'push' && runner.os == 'macOS' }} # name: Build macOS dmg