Refact. ci, third party, upload artifact (#7265)
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
		
							parent
							
								
									49c107bb5f
								
							
						
					
					
						commit
						ddbd4e79a2
					
				
							
								
								
									
										2
									
								
								.github/workflows/flutter-build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/flutter-build.yml
									
									
									
									
										vendored
									
									
								
							| @ -38,6 +38,7 @@ jobs: | |||||||
|   build-RustDeskTempTopMostWindow: |   build-RustDeskTempTopMostWindow: | ||||||
|     uses: ./.github/workflows/third-party-RustDeskTempTopMostWindow.yml |     uses: ./.github/workflows/third-party-RustDeskTempTopMostWindow.yml | ||||||
|     with: |     with: | ||||||
|  |       upload-artifact: ${{ inputs.upload-artifact }} | ||||||
|       target: windows-2019 |       target: windows-2019 | ||||||
|       configuration: Release |       configuration: Release | ||||||
|       platform: x64 |       platform: x64 | ||||||
| @ -138,6 +139,7 @@ jobs: | |||||||
| 
 | 
 | ||||||
|       - name: Download RustDeskTempTopMostWindow artifacts |       - name: Download RustDeskTempTopMostWindow artifacts | ||||||
|         uses: actions/download-artifact@master |         uses: actions/download-artifact@master | ||||||
|  |         if: ${{ inputs.upload-artifact }} | ||||||
|         with: |         with: | ||||||
|           name: topmostwindow-artifacts |           name: topmostwindow-artifacts | ||||||
|           path: './flutter/build/windows/x64/runner/Release/' |           path: './flutter/build/windows/x64/runner/Release/' | ||||||
|  | |||||||
| @ -3,6 +3,9 @@ name: build RustDeskTempTopMostWindow | |||||||
| on: | on: | ||||||
|   workflow_call: |   workflow_call: | ||||||
|     inputs: |     inputs: | ||||||
|  |         upload-artifact: | ||||||
|  |           type: boolean | ||||||
|  |           default: true | ||||||
|         target: |         target: | ||||||
|             description: 'Target' |             description: 'Target' | ||||||
|             required: true |             required: true | ||||||
| @ -50,6 +53,7 @@ jobs: | |||||||
| 
 | 
 | ||||||
|       - name: Archive build artifacts |       - name: Archive build artifacts | ||||||
|         uses: actions/upload-artifact@master |         uses: actions/upload-artifact@master | ||||||
|  |         if: ${{ inputs.upload-artifact }} | ||||||
|         with: |         with: | ||||||
|             name: topmostwindow-artifacts |             name: topmostwindow-artifacts | ||||||
|             path: | |             path: | | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user