Update main.yml

This commit is contained in:
Savsis 2026-04-29 01:09:32 +05:00 • committed by GitHub
parent e6d75bbb3b
commit feacadda33

View file

@ -51,7 +51,7 @@ jobs:
git config --global user.email "bot@example.com"
git config --global user.name "Builder Bot"
git add .
git commit -m "ci: rewrite broken plugin and fix assets" || true
git commit -m "ci: fix track player and assets" || true
- name: Fix Corrupted PNG Assets
run: |
@ -64,11 +64,13 @@ jobs:
- name: Build unsigned app
run: |
# Автоматически находим .xcworkspace и имя схемы
WORKSPACE_PATH=$(find ios -name "*.xcworkspace" -type d | head -1)
# Находим путь к .xcworkspace, игнорируя вложенные папки xcodeproj
WORKSPACE_PATH=$(find ios -maxdepth 1 -name "*.xcworkspace" | head -1)
# Извлекаем имя схемы (имя файла без расширения)
SCHEME_NAME=$(basename "$WORKSPACE_PATH" .xcworkspace)
echo "Building workspace: $WORKSPACE_PATH with scheme: $SCHEME_NAME"
echo "Building workspace: $WORKSPACE_PATH"
echo "Detected scheme: $SCHEME_NAME"
xcodebuild build \
-workspace "$WORKSPACE_PATH" \