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
					
				
							
								
								
									
										5
									
								
								.github/workflows/build-and-release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/build-and-release.yml
									
									
									
									
										vendored
									
									
								
							@ -285,6 +285,7 @@ jobs:
 | 
			
		||||
            
 | 
			
		||||
      - name: Compiling the Rust runtime
 | 
			
		||||
        uses: pguyot/arm-runner-action@v2.6.5
 | 
			
		||||
        id: build-linux-arm
 | 
			
		||||
        with:
 | 
			
		||||
          base_image: file://$RUNNER_TEMP/linux_arm_qemu_cache.img
 | 
			
		||||
          cpu: cortex-a53
 | 
			
		||||
@ -297,6 +298,10 @@ jobs:
 | 
			
		||||
            cd runtime
 | 
			
		||||
            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)
 | 
			
		||||
        uses: actions/upload-artifact@v4
 | 
			
		||||
        with:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user