do not run self-host in ci commit flow
This commit is contained in:
		
							parent
							
								
									c062813c6d
								
							
						
					
					
						commit
						9f72d05749
					
				
							
								
								
									
										8
									
								
								.github/workflows/flutter-build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/flutter-build.yml
									
									
									
									
										vendored
									
									
								
							| @ -1008,6 +1008,7 @@ jobs: | |||||||
| 
 | 
 | ||||||
|       - name: Install Rust toolchain |       - name: Install Rust toolchain | ||||||
|         uses: dtolnay/rust-toolchain@v1 |         uses: dtolnay/rust-toolchain@v1 | ||||||
|  |         if: matrix.job.arch == 'x86_64' || env.UPLOAD_ARTIFACT == 'true' | ||||||
|         with: |         with: | ||||||
|           toolchain: ${{ env.RUST_VERSION }} |           toolchain: ${{ env.RUST_VERSION }} | ||||||
|           targets: ${{ matrix.job.target }} |           targets: ${{ matrix.job.target }} | ||||||
| @ -1024,19 +1025,21 @@ jobs: | |||||||
|           sed -i  "s/\[\"cdylib\", \"staticlib\", \"rlib\"\]/\[\"cdylib\"\]/g" Cargo.toml |           sed -i  "s/\[\"cdylib\", \"staticlib\", \"rlib\"\]/\[\"cdylib\"\]/g" Cargo.toml | ||||||
| 
 | 
 | ||||||
|       - name: Restore bridge files |       - name: Restore bridge files | ||||||
|  |         if: matrix.job.arch == 'x86_64' || env.UPLOAD_ARTIFACT == 'true' | ||||||
|         uses: actions/download-artifact@master |         uses: actions/download-artifact@master | ||||||
|         with: |         with: | ||||||
|           name: bridge-artifact |           name: bridge-artifact | ||||||
|           path: ./ |           path: ./ | ||||||
| 
 | 
 | ||||||
|       - name: Setup vcpkg with Github Actions binary cache |       - name: Setup vcpkg with Github Actions binary cache | ||||||
|  |         if: matrix.job.arch == 'x86_64' || env.UPLOAD_ARTIFACT == 'true' | ||||||
|         uses: lukka/run-vcpkg@v11 |         uses: lukka/run-vcpkg@v11 | ||||||
|         with: |         with: | ||||||
|           vcpkgDirectory: /opt/artifacts/vcpkg |           vcpkgDirectory: /opt/artifacts/vcpkg | ||||||
|           vcpkgGitCommitId: ${{ env.VCPKG_COMMIT_ID }} |           vcpkgGitCommitId: ${{ env.VCPKG_COMMIT_ID }} | ||||||
| 
 | 
 | ||||||
|       - name: Install vcpkg dependencies |       - name: Install vcpkg dependencies | ||||||
|         if: env.UPLOAD_ARTIFACT == 'true' |         if: matrix.job.arch == 'x86_64' || env.UPLOAD_ARTIFACT == 'true' | ||||||
|         run: | |         run: | | ||||||
|           case ${{ matrix.job.target }} in |           case ${{ matrix.job.target }} in | ||||||
|             aarch64-unknown-linux-gnu) |             aarch64-unknown-linux-gnu) | ||||||
| @ -1049,6 +1052,7 @@ jobs: | |||||||
|         shell: bash |         shell: bash | ||||||
| 
 | 
 | ||||||
|       - name: Restore bridge files |       - name: Restore bridge files | ||||||
|  |         if: matrix.job.arch == 'x86_64' || env.UPLOAD_ARTIFACT == 'true' | ||||||
|         uses: actions/download-artifact@master |         uses: actions/download-artifact@master | ||||||
|         with: |         with: | ||||||
|           name: bridge-artifact |           name: bridge-artifact | ||||||
| @ -1057,7 +1061,7 @@ jobs: | |||||||
|       - uses: rustdesk-org/run-on-arch-action@amd64-support |       - uses: rustdesk-org/run-on-arch-action@amd64-support | ||||||
|         name: Build rustdesk |         name: Build rustdesk | ||||||
|         id: vcpkg |         id: vcpkg | ||||||
|         if: env.UPLOAD_ARTIFACT == 'true' |         if: matrix.job.arch == 'x86_64' || env.UPLOAD_ARTIFACT == 'true' | ||||||
|         with: |         with: | ||||||
|           arch: ${{ matrix.job.arch }} |           arch: ${{ matrix.job.arch }} | ||||||
|           distro: ${{ matrix.job.distro }} |           distro: ${{ matrix.job.distro }} | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user