mirror of
				https://github.com/MindWorkAI/AI-Studio.git
				synced 2025-11-04 01:20:21 +00:00 
			
		
		
		
	Cache runtime Rust build as well
This commit is contained in:
		
							parent
							
								
									460e1a3f6b
								
							
						
					
					
						commit
						7a81dfc701
					
				
							
								
								
									
										7
									
								
								.github/workflows/build-and-release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.github/workflows/build-and-release.yml
									
									
									
									
										vendored
									
									
								
							@ -285,6 +285,7 @@ jobs:
 | 
				
			|||||||
            
 | 
					            
 | 
				
			||||||
      - name: Compiling the Rust runtime
 | 
					      - name: Compiling the Rust runtime
 | 
				
			||||||
        uses: pguyot/arm-runner-action@v2.6.5
 | 
					        uses: pguyot/arm-runner-action@v2.6.5
 | 
				
			||||||
 | 
					        id: build-linux-arm
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          base_image: file://$RUNNER_TEMP/linux_arm_qemu_cache.img
 | 
					          base_image: file://$RUNNER_TEMP/linux_arm_qemu_cache.img
 | 
				
			||||||
          cpu: cortex-a53
 | 
					          cpu: cortex-a53
 | 
				
			||||||
@ -296,7 +297,11 @@ jobs:
 | 
				
			|||||||
            source "$HOME/.cargo/env"
 | 
					            source "$HOME/.cargo/env"
 | 
				
			||||||
            cd runtime
 | 
					            cd runtime
 | 
				
			||||||
            cargo tauri build --target aarch64-unknown-linux-gnu --bundles deb
 | 
					            cargo tauri build --target aarch64-unknown-linux-gnu --bundles deb
 | 
				
			||||||
 | 
					            
 | 
				
			||||||
 | 
					      - name: Update the runner image to cache the Rust runtime build
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          mv ${{ steps.build-linux-arm.outputs.image }} $RUNNER_TEMP/linux_arm_qemu_cache.img
 | 
				
			||||||
 | 
					      
 | 
				
			||||||
      - name: Upload artifact (Linux - Debian Package)
 | 
					      - name: Upload artifact (Linux - Debian Package)
 | 
				
			||||||
        uses: actions/upload-artifact@v4
 | 
					        uses: actions/upload-artifact@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user