File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,15 +89,25 @@ jobs:
8989 with :
9090 onesignal-app-id : ${{ vars.APPIUM_ONESIGNAL_APP_ID }}
9191 onesignal-api-key : ${{ secrets.APPIUM_ONESIGNAL_API_KEY }}
92- install-pods : ' true'
92+
93+ - name : Cache React Native SwiftPM artifacts
94+ uses : actions/cache@v5
95+ with :
96+ path : ~/Library/Caches/ReactNative/spm-artifacts
97+ key : rn-spm-artifacts-${{ runner.os }}-${{ hashFiles('examples/demo/bun.lock') }}
98+ restore-keys : rn-spm-artifacts-${{ runner.os }}-
9399
94100 - name : Cache Xcode DerivedData
95101 uses : actions/cache@v5
96102 with :
97103 path : examples/demo/ios/build
98- key : deriveddata-${{ runner.os }}-${{ hashFiles('examples/demo/ios/Podfile.lock ') }}
104+ key : deriveddata-${{ runner.os }}-${{ hashFiles('examples/demo/bun.lock', 'examples/demo/ ios/demo.xcodeproj/project.pbxproj ') }}
99105 restore-keys : deriveddata-${{ runner.os }}-
100106
107+ - name : Generate SwiftPM packages
108+ working-directory : examples/demo
109+ run : vp run update:spm
110+
101111 - name : Set up iOS codesigning
102112 uses : OneSignal/sdk-shared/.github/actions/setup-ios-demo-codesigning@main
103113 with :
@@ -111,7 +121,7 @@ jobs:
111121 working-directory : examples/demo/ios
112122 run : |
113123 xcodebuild archive \
114- -workspace demo.xcworkspace \
124+ -project demo.xcodeproj \
115125 -scheme demo \
116126 -configuration Release \
117127 -sdk iphoneos \
You can’t perform that action at this time.
0 commit comments