From e6807c29fad1b201b342edbe5243e5b81fc3a348 Mon Sep 17 00:00:00 2001 From: Prateek Machiraju Date: Sun, 16 Oct 2022 21:27:10 -0400 Subject: [PATCH] Temporarily disable notarization on macOS (#535) --- .github/workflows/main.yml | 62 +++++++++++++++++++------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 80e36c0e..f1d5e01c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,37 +25,37 @@ jobs: npm run packageMac name: Build Standalone Utility working-directory: wpilib-utility-standalone - - name: Import Developer ID Certificate - uses: wpilibsuite/import-signing-certificate@v1 - with: - certificate-data: ${{ secrets.APPLE_CERTIFICATE_DATA }} - certificate-passphrase: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }} - keychain-password: ${{ secrets.APPLE_KEYCHAIN_PASSWORD }} - if: | - (github.repository_owner == 'wpilibsuite') && - (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) - - name: Sign Standalone Utility - run: npm run signMac - working-directory: wpilib-utility-standalone - if: | - (github.repository_owner == 'wpilibsuite') && - (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) - - name: Notarize Standalone Utility - uses: wpilibsuite/xcode-notarize@v1 - with: - product-path: "wpilib-utility-standalone/build/wpilibutility-darwin-x64/wpilibutility.app" - primary-bundle-id: edu.wpi.first.wpilibutility - appstore-connect-username: ${{ secrets.APPLE_NOTARIZATION_USERNAME }} - appstore-connect-password: ${{ secrets.APPLE_NOTARIZATION_PASSWORD }} - if: | - (github.repository_owner == 'wpilibsuite') && - (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) - - name: Staple Notarization Ticket - run: xcrun stapler staple -v wpilibutility.app - working-directory: wpilib-utility-standalone/build/wpilibutility-darwin-x64 - if: | - (github.repository_owner == 'wpilibsuite') && - (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) + # - name: Import Developer ID Certificate + # uses: wpilibsuite/import-signing-certificate@v1 + # with: + # certificate-data: ${{ secrets.APPLE_CERTIFICATE_DATA }} + # certificate-passphrase: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }} + # keychain-password: ${{ secrets.APPLE_KEYCHAIN_PASSWORD }} + # if: | + # (github.repository_owner == 'wpilibsuite') && + # (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) + # - name: Sign Standalone Utility + # run: npm run signMac + # working-directory: wpilib-utility-standalone + # if: | + # (github.repository_owner == 'wpilibsuite') && + # (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) + # - name: Notarize Standalone Utility + # uses: wpilibsuite/xcode-notarize@v1 + # with: + # product-path: "wpilib-utility-standalone/build/wpilibutility-darwin-x64/wpilibutility.app" + # primary-bundle-id: edu.wpi.first.wpilibutility + # appstore-connect-username: ${{ secrets.APPLE_NOTARIZATION_USERNAME }} + # appstore-connect-password: ${{ secrets.APPLE_NOTARIZATION_PASSWORD }} + # if: | + # (github.repository_owner == 'wpilibsuite') && + # (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) + # - name: Staple Notarization Ticket + # run: xcrun stapler staple -v wpilibutility.app + # working-directory: wpilib-utility-standalone/build/wpilibutility-darwin-x64 + # if: | + # (github.repository_owner == 'wpilibsuite') && + # (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) - run: tar -C build/wpilibutility-darwin-x64 -pcvzf wpilibutility-mac.tar.gz . working-directory: wpilib-utility-standalone name: Create Archive