From 1663cf998635fc7b41ad85116c35487fec4e3c69 Mon Sep 17 00:00:00 2001 From: Opender Singh Date: Thu, 14 Oct 2021 18:54:24 +1300 Subject: [PATCH] notarize and staple in test workflow --- .github/workflows/test.yml | 44 +++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cba6faac06..39183c4592 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -90,29 +90,29 @@ jobs: VERSION: ${{ steps.inso-variables.outputs.inso-version }} # We don't need to notarize and staple on every commit - # - name: Notarize installer - # if: matrix.os == 'macos-latest' - # uses: devbotsxyz/xcode-notarize@v1 - # with: - # product-path: packages/insomnia-inso/artifacts/${{ steps.inso-variables.outputs.pkg-name }}.pkg - # primary-bundle-id: ${{ steps.inso-variables.outputs.bundle-id }} - # appstore-connect-username: ${{ secrets.DESIGNER_APPLE_ID }} - # appstore-connect-password: ${{ secrets.DESIGNER_APPLE_ID_PASSWORD }} - - # - name: Staple installer - # if: matrix.os == 'macos-latest' - # uses: devbotsxyz/xcode-staple@v1 - # with: - # product-path: packages/insomnia-inso/artifacts/${{ steps.inso-variables.outputs.pkg-name }}.pkg + - name: Notarize installer + if: matrix.os == 'macos-latest' + uses: devbotsxyz/xcode-notarize@v1 + with: + product-path: packages/insomnia-inso/artifacts/${{ steps.inso-variables.outputs.pkg-name }}.pkg + primary-bundle-id: ${{ steps.inso-variables.outputs.bundle-id }} + appstore-connect-username: ${{ secrets.DESIGNER_APPLE_ID }} + appstore-connect-password: ${{ secrets.DESIGNER_APPLE_ID_PASSWORD }} - # - name: Notarize binary - # if: matrix.os == 'macos-latest' - # uses: devbotsxyz/xcode-notarize@v1 - # with: - # product-path: packages/insomnia-inso/binaries/inso - # primary-bundle-id: ${{ steps.inso-variables.outputs.bundle-id }}-binary - # appstore-connect-username: ${{ secrets.DESIGNER_APPLE_ID }} - # appstore-connect-password: ${{ secrets.DESIGNER_APPLE_ID_PASSWORD }} + - name: Staple installer + if: matrix.os == 'macos-latest' + uses: devbotsxyz/xcode-staple@v1 + with: + product-path: packages/insomnia-inso/artifacts/${{ steps.inso-variables.outputs.pkg-name }}.pkg + + - name: Notarize binary + if: matrix.os == 'macos-latest' + uses: devbotsxyz/xcode-notarize@v1 + with: + product-path: packages/insomnia-inso/binaries/inso + primary-bundle-id: ${{ steps.inso-variables.outputs.bundle-id }}-binary + appstore-connect-username: ${{ secrets.DESIGNER_APPLE_ID }} + appstore-connect-password: ${{ secrets.DESIGNER_APPLE_ID_PASSWORD }} - name: Create Inso CLI artifacts run: npm run inso-package:artifacts