mirror of
				https://github.com/inventree/inventree-app.git
				synced 2025-10-31 13:25:40 +00:00 
			
		
		
		
	Fixes for iOS build
This commit is contained in:
		
							
								
								
									
										17
									
								
								.github/workflows/test.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										17
									
								
								.github/workflows/test.yaml
									
									
									
									
										vendored
									
									
								
							| @@ -56,9 +56,11 @@ jobs: | ||||
|        uses: gradle/gradle-build-action@v2 | ||||
|        with: | ||||
|          gradle-version: 6.1.1 | ||||
|      - run: flutter pub get | ||||
|      - run: cp lib/dummy_dsn.dart lib/dsn.dart | ||||
|      - run: flutter build apk --debug | ||||
|      - name: Build for Android | ||||
|        run: | | ||||
|          flutter pub get | ||||
|          cp lib/dummy_dsn.dart lib/dsn.dart | ||||
|          flutter build apk --debug | ||||
|    | ||||
|   ios: | ||||
|    runs-on: macos-latest | ||||
| @@ -76,6 +78,9 @@ jobs: | ||||
|      uses: subosito/flutter-action@v1 | ||||
|      with: | ||||
|        flutter-version: '2.10.3' | ||||
|    - run: flutter pub get | ||||
|    - run: cp lib/dummy_dsn.dart lib/dsn.dart | ||||
|    - run: flutter build ios --release --no-codesign | ||||
|    - name: Build for iOS | ||||
|      run: | | ||||
|        flutter pub get | ||||
|        cp lib/dummy_dsn.dart lib/dsn.dart | ||||
|        pod repo update | ||||
|        flutter build ios --release --no-codesign | ||||
|   | ||||
		Reference in New Issue
	
	Block a user