CI: clean up after archiving update bundle (#1116)
* CI: clean up after archiving update bundle * CI: fix bundle path * CI: trust me i know what i'm doing Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
		
							parent
							
								
									e67cdbdff8
								
							
						
					
					
						commit
						935db361b8
					
				
							
								
								
									
										19
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										19
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							@ -102,14 +102,17 @@ jobs:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      - name: 'Bundle self-update package'
 | 
					      - name: 'Bundle self-update package'
 | 
				
			||||||
        if: ${{ !github.event.pull_request.head.repo.fork }}
 | 
					        if: ${{ !github.event.pull_request.head.repo.fork }}
 | 
				
			||||||
        run: |
 | 
					        uses: ./.github/actions/docker
 | 
				
			||||||
          set -e
 | 
					        with:
 | 
				
			||||||
          for UPDATEBUNDLE in artifacts/*/
 | 
					          run: |
 | 
				
			||||||
          do
 | 
					            set -e
 | 
				
			||||||
            BUNDLE_NAME=`echo $UPDATEBUNDLE | cut -d'/' -f2`
 | 
					            for UPDATEBUNDLE in artifacts/*/
 | 
				
			||||||
            echo Packaging ${BUNDLE_NAME}
 | 
					            do
 | 
				
			||||||
            tar czpf artifacts/flipper-z-${BUNDLE_NAME}.tgz -C artifacts ${BUNDLE_NAME}
 | 
					              BUNDLE_NAME=`echo $UPDATEBUNDLE | cut -d'/' -f2`
 | 
				
			||||||
          done
 | 
					              echo Packaging ${BUNDLE_NAME}
 | 
				
			||||||
 | 
					              tar czpf artifacts/flipper-z-${BUNDLE_NAME}.tgz -C artifacts ${BUNDLE_NAME}
 | 
				
			||||||
 | 
					              rm -rf artifacts/${BUNDLE_NAME}
 | 
				
			||||||
 | 
					            done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: 'Bundle resources'
 | 
					      - name: 'Bundle resources'
 | 
				
			||||||
        if: ${{ !github.event.pull_request.head.repo.fork }}
 | 
					        if: ${{ !github.event.pull_request.head.repo.fork }}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user