Skip to content

Commit

Permalink
fixed macOS build pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
faressc committed Mar 15, 2024
1 parent 39be987 commit 971292b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build_test_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 971292b

Please sign in to comment.