fix(workflows): add detailed debugging for certificate import in macOS build workflow
Some checks failed
Test macOS Build Action / test-macos-build (push) Has been cancelled

This commit is contained in:
Ozgur 2025-04-14 13:50:05 +02:00
parent 4088c8d37a
commit 8c02d550fb
No known key found for this signature in database
GPG Key ID: 66CDF27505A35546

View File

@ -74,18 +74,7 @@ jobs:
echo "WORKSPACE_DIR=$WORKSPACE_DIR" >> "$GITHUB_ENV" echo "WORKSPACE_DIR=$WORKSPACE_DIR" >> "$GITHUB_ENV"
shell: bash shell: bash
# Step 2: Build for macOS - name: Debug Certificate Import (Test)
- name: Build for macOS
run: |
if [ -f "./scripts/mac_build.sh" ]; then
chmod +x ./scripts/mac_build.sh
./scripts/mac_build.sh
else
echo "Build script not found, skipping this step"
fi
shell: bash
- name: Debug Certificate Import2
env: env:
CERTIFICATE_BASE64: ${{ secrets.MACOS_CERTIFICATE }} CERTIFICATE_BASE64: ${{ secrets.MACOS_CERTIFICATE }}
CERTIFICATE_PASSWORD: ${{ secrets.MACOS_CERTIFICATE_PWD }} CERTIFICATE_PASSWORD: ${{ secrets.MACOS_CERTIFICATE_PWD }}
@ -134,6 +123,18 @@ jobs:
echo "APPLE_TEAM=$APPLE_TEAM_ID" >> "$GITHUB_ENV" echo "APPLE_TEAM=$APPLE_TEAM_ID" >> "$GITHUB_ENV"
shell: bash shell: bash
# Step 2: Build for macOS
- name: Build for macOS
run: |
if [ -f "./scripts/mac_build.sh" ]; then
chmod +x ./scripts/mac_build.sh
./scripts/mac_build.sh
else
echo "Build script not found, skipping this step"
fi
shell: bash
# Step 3: Enhanced Debug for Certificate Import # Step 3: Enhanced Debug for Certificate Import
- name: Debug Certificate Import - name: Debug Certificate Import
env: env: