CI: Fix artifacts naming (#654)
* Fix artifacts naming * Github: build on pull requests * Github: narrow build trigger criteria. Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
This commit is contained in:
		
							parent
							
								
									ac5c1cb4a0
								
							
						
					
					
						commit
						fe2b9718e1
					
				
							
								
								
									
										14
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							| @ -1,6 +1,12 @@ | |||||||
| name: 'Build' | name: 'Build' | ||||||
| 
 | 
 | ||||||
| on: push | on:  | ||||||
|  |   push: | ||||||
|  |     branches: | ||||||
|  |       - dev | ||||||
|  |       - "release*" | ||||||
|  |     tags: | ||||||
|  |   pull_request: | ||||||
| 
 | 
 | ||||||
| env: | env: | ||||||
|   TARGETS: f6 |   TARGETS: f6 | ||||||
| @ -146,15 +152,15 @@ jobs: | |||||||
|             lib/STM32CubeWB/Projects/STM32WB_Copro_Wireless_Binaries/STM32WB5x/stm32wb5x_FUS_fw_for_fus_0_5_3.bin \ |             lib/STM32CubeWB/Projects/STM32WB_Copro_Wireless_Binaries/STM32WB5x/stm32wb5x_FUS_fw_for_fus_0_5_3.bin \ | ||||||
|             lib/STM32CubeWB/Projects/STM32WB_Copro_Wireless_Binaries/STM32WB5x/stm32wb5x_BLE_Stack_full_fw.bin \ |             lib/STM32CubeWB/Projects/STM32WB_Copro_Wireless_Binaries/STM32WB5x/stm32wb5x_BLE_Stack_full_fw.bin \ | ||||||
|             core2_firmware |             core2_firmware | ||||||
|           tar czpf artifacts/flipper-z-core2_firmware-${SUFFIX}.tgz core2_firmware |           tar czpf artifacts/flipper-z-any-core2_firmware-${SUFFIX}.tgz core2_firmware | ||||||
| 
 | 
 | ||||||
|       - name: 'Bundle scripts' |       - name: 'Bundle scripts' | ||||||
|         run: | |         run: | | ||||||
|           tar czpf artifacts/flipper-z-scripts-${SUFFIX}.tgz scripts |           tar czpf artifacts/flipper-z-any-scripts-${SUFFIX}.tgz scripts | ||||||
| 
 | 
 | ||||||
|       - name: 'Bundle resources' |       - name: 'Bundle resources' | ||||||
|         run: | |         run: | | ||||||
|           tar czpf artifacts/flipper-z-resources-${SUFFIX}.tgz -C assets resources |           tar czpf artifacts/flipper-z-any-resources-${SUFFIX}.tgz -C assets resources | ||||||
| 
 | 
 | ||||||
|       - name: 'Upload artifacts to update server' |       - name: 'Upload artifacts to update server' | ||||||
|         uses: burnett01/rsync-deployments@4.1 |         uses: burnett01/rsync-deployments@4.1 | ||||||
|  | |||||||
							
								
								
									
										8
									
								
								.github/workflows/lint_c.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/lint_c.yml
									
									
									
									
										vendored
									
									
								
							| @ -1,6 +1,12 @@ | |||||||
| name: 'Lint C/C++ with clang-format' | name: 'Lint C/C++ with clang-format' | ||||||
| 
 | 
 | ||||||
| on: pull_request | on:  | ||||||
|  |   push: | ||||||
|  |     branches: | ||||||
|  |       - dev | ||||||
|  |       - "release*" | ||||||
|  |     tags: | ||||||
|  |   pull_request: | ||||||
| 
 | 
 | ||||||
| env: | env: | ||||||
|   TARGETS: f6 |   TARGETS: f6 | ||||||
|  | |||||||
							
								
								
									
										8
									
								
								.github/workflows/lint_python.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/lint_python.yml
									
									
									
									
										vendored
									
									
								
							| @ -1,6 +1,12 @@ | |||||||
| name: 'Python Lint' | name: 'Python Lint' | ||||||
| 
 | 
 | ||||||
| on: pull_request | on:  | ||||||
|  |   push: | ||||||
|  |     branches: | ||||||
|  |       - dev | ||||||
|  |       - "release*" | ||||||
|  |     tags: | ||||||
|  |   pull_request: | ||||||
| 
 | 
 | ||||||
| jobs: | jobs: | ||||||
|   lint_python: |   lint_python: | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Anna Prosvetova
						Anna Prosvetova