Added full.dfu artifact for upload (#478)
This commit is contained in:
		
							parent
							
								
									f69fa4b98f
								
							
						
					
					
						commit
						93fbb2e182
					
				
							
								
								
									
										6
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @ -92,6 +92,9 @@ jobs: | |||||||
|       - name: Add firmware.bin at full.bin |       - name: Add firmware.bin at full.bin | ||||||
|         run: for TARGET in ${TARGETS}; do cat ${TARGET}_firmware.bin >> ${TARGET}_full.bin; done |         run: for TARGET in ${TARGETS}; do cat ${TARGET}_firmware.bin >> ${TARGET}_full.bin; done | ||||||
| 
 | 
 | ||||||
|  |       - name: Copy last target to full.dfu | ||||||
|  |         run: cp ${TARGETS##*" "}_full.dfu full.dfu | ||||||
|  | 
 | ||||||
|       - name: Publish artifacts |       - name: Publish artifacts | ||||||
|         uses: actions/upload-artifact@v2 |         uses: actions/upload-artifact@v2 | ||||||
|         with: |         with: | ||||||
| @ -103,6 +106,7 @@ jobs: | |||||||
|             *_firmware.bin |             *_firmware.bin | ||||||
|             *_full.dfu |             *_full.dfu | ||||||
|             *_full.bin |             *_full.bin | ||||||
|  |             full.dfu | ||||||
|           if-no-files-found: error |           if-no-files-found: error | ||||||
|           retention-days: 7 |           retention-days: 7 | ||||||
| 
 | 
 | ||||||
| @ -127,7 +131,7 @@ jobs: | |||||||
|           remote_key: ${{ secrets.RSYNC_DEPLOY_KEY }} |           remote_key: ${{ secrets.RSYNC_DEPLOY_KEY }} | ||||||
| 
 | 
 | ||||||
|       - name: Generate files list |       - name: Generate files list | ||||||
|         run: ls *_bootloader.dfu *_firmware.dfu *_full.dfu *_bootloader.bin *_firmware.bin *_full.bin *_bootloader.elf *_firmware.elf > uploadlist.txt |         run: ls *_bootloader.dfu *_firmware.dfu *_full.dfu *_bootloader.bin *_firmware.bin *_full.bin *_bootloader.elf *_firmware.elf full.dfu > uploadlist.txt | ||||||
| 
 | 
 | ||||||
|       - name: Upload artifacts |       - name: Upload artifacts | ||||||
|         uses: burnett01/rsync-deployments@4.1 |         uses: burnett01/rsync-deployments@4.1 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 rusdacent
						rusdacent