Skip to content

Commit

Permalink
chore(ci): adds allow-unsigned-executable-memory to MacOS entitlements
Browse files Browse the repository at this point in the history
  • Loading branch information
EverlastingBugstopper committed Mar 31, 2021
1 parent 61edff3 commit beb51e8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,15 @@ jobs:
- name: Codesign (MacOS)
if: matrix.build == 'macos'
run: |
/usr/bin/codesign --force --sign ${{ env.APPLE_TEAM_ID }} --options runtime --timestamp ./dist/${{ env.RELEASE_BIN }} -v
/usr/bin/codesign \
--sign ${{ env.APPLE_TEAM_ID }} \
--options runtime \
--entitlements ./macos-entitlements.plist \
--force \
--timestamp \
./dist/${{ env.RELEASE_BIN }} \
-v
/usr/bin/codesign -vvv --deep --strict ./dist/${{ env.RELEASE_BIN }}
- name: Prepare zip for notarization (MacOS)
Expand Down
8 changes: 8 additions & 0 deletions macos-entitlements.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
</dict>
</plist>

0 comments on commit beb51e8

Please sign in to comment.