Skip to content

Commit

Permalink
ci: fix cache and upload paths
Browse files Browse the repository at this point in the history
  • Loading branch information
KiwiKilian committed Dec 6, 2024
1 parent c6a60d2 commit abc195c
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,21 +125,14 @@ jobs:
- name: Setup
uses: ./.github/actions/setup

- name: Install Maestro
run: |
curl -Ls "https://get.maestro.mobile.dev" | bash
echo "$HOME/.maestro/bin" >> "$GITHUB_PATH"
brew tap facebook/fb
brew install facebook/fb/idb-companion
- name: Cache Cocoapods
uses: actions/cache@v4
id: cocoapods-cache
with:
path: ./ios/Pods
key: ${{ runner.os }}-cocoapods-${{ hashFiles('ios/Podfile.lock') }}
key: ${{ runner.os }}-cocoapods-${{ hashFiles('./packages/react-native-app/ios/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-cocoapods-${{ hashFiles('ios/Podfile.lock') }}
${{ runner.os }}-cocoapods-${{ hashFiles('./packages/react-native-app/ios/Podfile.lock') }}
${{ runner.os }}-cocoapods-
- name: Install Cocoapods
Expand All @@ -150,7 +143,7 @@ jobs:
uses: actions/cache@v4
id: ios-build-cache
with:
path: ./ios/build
path: ./packages/react-native-app/ios/build
key: ${{ runner.os }}-ios-build--${{ github.workflow }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-ios-build--${{ github.workflow }}-${{ github.sha }}
Expand All @@ -165,8 +158,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: ios-app
path: ./ios/build/Build/Products/Release-iphonesimulator/MapLibreReactNativeExample.app

path: ./packages/react-native-app/ios/build/Build/Products/Release-iphonesimulator/MapLibreReactNativeExample.app

test-ios:
name: Test iOS
Expand Down

0 comments on commit abc195c

Please sign in to comment.