Update main.yml

This commit is contained in:
Savsis 2026-05-05 23:26:24 +05:00 • committed by GitHub
parent 38f03a2c7f
commit 667f4acc02

View file

@ -21,7 +21,6 @@ jobs:
- name: Install dependencies
run: |
npm install --legacy-peer-deps --ignore-scripts
# Удаляем пакет, который валит билд
npm uninstall expo-updates --legacy-peer-deps
- name: Prepare app.json
@ -32,19 +31,11 @@ jobs:
"name": "BurmaldaMusic",
"slug": "nodeshiftmusicburmalda",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "light",
"ios": {
"supportsTablet": true,
"bundleIdentifier": "com.nodeshift.burmaldamusic",
"config": {
"usesNonExemptEncryption": false
}
"supportsTablet": true
},
"plugins": [
"react-native-track-player"
]
"plugins": ["react-native-track-player"]
}
}
EOF
@ -71,8 +62,6 @@ jobs:
- name: Expo prebuild
run: npx expo prebuild --platform ios --clean --no-install
env:
EXPO_NO_DOTENV: 1
- name: Install CocoaPods
run: cd ios && pod install --repo-update && cd ..
@ -82,6 +71,9 @@ jobs:
WORKSPACE_PATH=$(find ios -maxdepth 1 -name "*.xcworkspace" | head -1)
SCHEME_NAME=$(basename "$WORKSPACE_PATH" .xcworkspace)
# ФИКС: Явно прокидываем путь к NODE, чтобы скрипт Bundle RN не падал
export NODE_BINARY=$(which node)
xcodebuild build \
-workspace "$WORKSPACE_PATH" \
-scheme "$SCHEME_NAME" \
@ -100,16 +92,12 @@ jobs:
if [ -z "$APP_PATH" ]; then
APP_PATH=$(find "$RUNNER_TEMP/DerivedData" -name "*.app" -type d | grep -v "xctest" | head -1)
fi
if [ -z "$APP_PATH" ]; then
echo "Build failed: .app file not found"
exit 1
fi
mkdir -p Payload
cp -r "$APP_PATH" Payload/
zip -qr burmalda_fixed.ipa Payload
zip -qr burmalda_final.ipa Payload
- name: Upload IPA
uses: actions/upload-artifact@v4
with:
name: Burmalda-Fixed-IPA
path: burmalda_fixed.ipa
name: Burmalda-IPA
path: burmalda_final.ipa