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
Some checks failed
Test macOS Build Action / test-macos-build (push) Has been cancelled
This commit is contained in:
parent
4088c8d37a
commit
8c02d550fb
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user