fix(actions): simplify macOS build workflow by directly executing quarantine attribute removal command
Some checks failed
Test macOS Build Action / test-macos-build (push) Failing after 32m10s
Some checks failed
Test macOS Build Action / test-macos-build (push) Failing after 32m10s
This commit is contained in:
parent
85dd25cbc0
commit
f251e847f3
@ -494,22 +494,10 @@ jobs:
|
||||
run: |
|
||||
debug_log "Removing quarantine attribute from app"
|
||||
|
||||
# Create helper script
|
||||
QUARANTINE_SCRIPT="$WORK_DIR/remove_quarantine.sh"
|
||||
cat > "$QUARANTINE_SCRIPT" << 'EOF'
|
||||
#!/bin/bash
|
||||
# Removes the quarantine attribute from app and all its contents
|
||||
echo "Removing quarantine attribute from all files..."
|
||||
find "$1" -exec xattr -d com.apple.quarantine {} \; 2>/dev/null || true
|
||||
echo "Quarantine attributes removed"
|
||||
EOF
|
||||
|
||||
chmod +x "$QUARANTINE_SCRIPT"
|
||||
|
||||
# Remove quarantine attribute
|
||||
"$QUARANTINE_SCRIPT" "$APP_PATH"
|
||||
|
||||
debug_log "Quarantine attribute removal completed"
|
||||
# Directly run the command without creating a script file
|
||||
debug_log "Removing quarantine attribute from all files..."
|
||||
find "$APP_PATH" -exec xattr -d com.apple.quarantine {} \; 2>/dev/null || true
|
||||
debug_log "Quarantine attributes removed"
|
||||
shell: bash
|
||||
|
||||
- name: Package signed app
|
||||
|
Loading…
x
Reference in New Issue
Block a user