mirror of
				https://github.com/immich-app/immich.git
				synced 2025-10-31 10:37:11 -04:00 
			
		
		
		
	Added SDK to Rust
This commit is contained in:
		
							parent
							
								
									17085dd8a0
								
							
						
					
					
						commit
						14dc679332
					
				
							
								
								
									
										23
									
								
								.github/workflows/openapi-generator.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										23
									
								
								.github/workflows/openapi-generator.yml
									
									
									
									
										vendored
									
									
								
							| @ -41,7 +41,7 @@ jobs: | ||||
|           git pull origin main --allow-unrelated-histories | ||||
|           git push origin main 2>&1 | grep -v 'To https' | ||||
| 
 | ||||
|       - name: Generate Dart Client | ||||
|       - name: Generate Dart SDK | ||||
|         uses: openapi-generators/openapitools-generator-action@v1 | ||||
|         with: | ||||
|           generator: dart | ||||
| @ -58,6 +58,27 @@ jobs: | ||||
|           git init | ||||
|           git add . | ||||
|           git commit -m "Update SDK" | ||||
|           git remote add origin https://immich-app:"${{ secrets.GH_TOKEN }}"@github.com/immich-app/immich-sdk-dart.git | ||||
|           git pull origin main --allow-unrelated-histories | ||||
|           git push origin main 2>&1 | grep -v 'To https' | ||||
| 
 | ||||
|       - name: Generate Rust SDK | ||||
|         uses: openapi-generators/openapitools-generator-action@v1 | ||||
|         with: | ||||
|           generator: rust | ||||
|           generator-tag: v6.2.0 | ||||
|           openapi-file: server/immich-openapi-specs.json | ||||
| 
 | ||||
|       - name: Push to Rust repo | ||||
|         run: | | ||||
|           git config --global init.defaultBranch main | ||||
|           git config --global pull.rebase false | ||||
|           git config --global user.email "alex.tran1502@gmail.com" | ||||
|           git config --global user.name "Alex Tran" | ||||
|           cd rust-client | ||||
|           git init | ||||
|           git add . | ||||
|           git commit -m "Update SDK" | ||||
|           git remote add origin https://immich-app:"${{ secrets.GH_TOKEN }}"@github.com/immich-app/immich-sdk-rust.git | ||||
|           git pull origin main --allow-unrelated-histories | ||||
|           git push origin main 2>&1 | grep -v 'To https' | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user