fix(workflows): add entitlements file creation step to macOS signing workflow
Some checks failed
Test macOS Signing / test-signing (push) Failing after 2m15s

This commit is contained in:
Ozgur 2025-04-13 15:31:26 +02:00
parent 7e3c22f002
commit 4daf6d1176
No known key found for this signature in database
GPG Key ID: 66CDF27505A35546

View File

@ -9,11 +9,33 @@ jobs:
test-signing: test-signing:
runs-on: macos runs-on: macos
steps: steps:
- name: Checkout repository - name: Create Entitlements File
uses: actions/checkout@v3 run: |
with: # Create entitlements file inline
lfs: true cat > LuckyRobots.entitlements << EOF
fetch-depth: 0 <?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-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>
<key>com.apple.security.device.audio-input</key>
<true/>
<key>com.apple.security.device.camera</key>
<true/>
</dict>
</plist>
EOF
echo "Created entitlements file:"
cat LuckyRobots.entitlements
shell: bash
- name: Download and Extract Artifact - name: Download and Extract Artifact
id: extract-artifact id: extract-artifact