diff --git a/.github/workflows/build_test_artifacts.yml b/.github/workflows/build_test_artifacts.yml index f748bb8..2944778 100644 --- a/.github/workflows/build_test_artifacts.yml +++ b/.github/workflows/build_test_artifacts.yml @@ -165,13 +165,13 @@ jobs: run: | # In contrast to dmg files zip files do not need to be codesigned before notarization xcrun notarytool submit ${{ env.PRODUCT_NAME }}.zip --apple-id ${{ secrets.APPLE_DEV_ID }} --password ${{ secrets.APPLE_DEV_PWD }} --team-id ${{ secrets.TEAM_ID }} --wait - # # Then we need to unzip it and staple the ticket for the gatekeeper to all binaries - # unzip ${{ env.PRODUCT_NAME }}.zip && rm ${{ env.PRODUCT_NAME }}.zip - # cd ${{ env.PRODUCT_NAME }} - # xcrun stapler staple "${{ env.PRODUCT_NAME }}" - # cd .. - # # And finally zip it again - # zip -vr ${{ env.PRODUCT_NAME }}.zip ${{ env.PRODUCT_NAME }}/ -x "*.DS_Store" + # Then we need to unzip it and staple the ticket for the gatekeeper to all binaries + unzip ${{ env.PRODUCT_NAME }}.zip && rm ${{ env.PRODUCT_NAME }}.zip + cd ${{ env.PRODUCT_NAME }} + xcrun stapler staple "${{ env.PROJECT_NAME }}" + cd .. + # And finally zip it again + zip -vr ${{ env.PRODUCT_NAME }}.zip ${{ env.PRODUCT_NAME }}/ -x "*.DS_Store" - name: upload artifact uses: actions/upload-artifact@v4