Fix PNG assets command and clean up workflow
Updated PNG asset fixing command and removed app location logging.
This commit is contained in:
parent
689f94674a
commit
ba2b5a7e00
1 changed files with 8 additions and 11 deletions
19
.github/workflows/main.yml
vendored
19
.github/workflows/main.yml
vendored
|
|
@ -26,15 +26,21 @@ jobs:
|
|||
|
||||
- name: Fix PNG assets
|
||||
run: |
|
||||
find assets -name "*.png" | while read f; do
|
||||
find assets -name "*.png" 2>/dev/null | while read f; do
|
||||
sips -s format png "$f" --out "$f"
|
||||
done
|
||||
done || true
|
||||
|
||||
- name: Expo prebuild
|
||||
run: npx expo prebuild --platform ios --clean
|
||||
env:
|
||||
EXPO_NO_DOTENV: 1
|
||||
|
||||
- name: Install CocoaPods dependencies
|
||||
run: |
|
||||
cd ios
|
||||
pod install --repo-update
|
||||
cd ..
|
||||
|
||||
- name: Build unsigned app
|
||||
run: |
|
||||
WORKSPACE=$(find ios -name "*.xcworkspace" -type d | head -1)
|
||||
|
|
@ -51,15 +57,6 @@ jobs:
|
|||
CODE_SIGNING_ALLOWED=NO \
|
||||
ENABLE_BITCODE=NO
|
||||
|
||||
- name: Locate app
|
||||
run: |
|
||||
echo "=== Xcode default DerivedData ==="
|
||||
find ~/Library/Developer/Xcode/DerivedData -name "*.app" -type d 2>/dev/null | grep -v "\.xctest" || echo "nothing"
|
||||
echo "=== RUNNER_TEMP ==="
|
||||
find "$RUNNER_TEMP" -name "*.app" -type d 2>/dev/null | grep -v "\.xctest" || echo "nothing"
|
||||
echo "=== runner home ==="
|
||||
find /Users/runner -maxdepth 8 -name "*.app" -type d 2>/dev/null | grep -v "\.xctest" | grep -v "Xcode.app" | grep -v "CoreSimulator" | grep -v "node_modules" | grep -v "Cellar" || echo "nothing"
|
||||
|
||||
- name: Package IPA
|
||||
run: |
|
||||
APP_PATH=$(find "$RUNNER_TEMP/DerivedData/Build/Products" -name "*.app" -type d 2>/dev/null | grep -v "\.xctest" | head -1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue