Switch to workflow_dispatch
This commit is contained in:
		
							parent
							
								
									015beac49a
								
							
						
					
					
						commit
						915cbaa276
					
				
					 1 changed files with 8 additions and 3 deletions
				
			
		
							
								
								
									
										11
									
								
								.github/workflows/build.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								.github/workflows/build.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -5,8 +5,13 @@ on:
 | 
				
			||||||
    paths-ignore:
 | 
					    paths-ignore:
 | 
				
			||||||
      - '**.md'
 | 
					      - '**.md'
 | 
				
			||||||
      - 'LICENSE'
 | 
					      - 'LICENSE'
 | 
				
			||||||
  repository_dispatch:
 | 
					  workflow_dispatch:
 | 
				
			||||||
    types: [build]
 | 
					    inputs:
 | 
				
			||||||
 | 
					      doRelease:
 | 
				
			||||||
 | 
					        description: 'Publish new release'
 | 
				
			||||||
 | 
					        type: boolean
 | 
				
			||||||
 | 
					        default: false
 | 
				
			||||||
 | 
					        required: false
 | 
				
			||||||
  schedule:
 | 
					  schedule:
 | 
				
			||||||
    - cron: '0 12 * * *'
 | 
					    - cron: '0 12 * * *'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -148,7 +153,7 @@ jobs:
 | 
				
			||||||
          path: artifacts/*
 | 
					          path: artifacts/*
 | 
				
			||||||
  publish_release:
 | 
					  publish_release:
 | 
				
			||||||
    name: Publish release
 | 
					    name: Publish release
 | 
				
			||||||
    if: github.event_name != 'push'
 | 
					    if: ${{ github.event_name == 'schedule' || github.event.inputs.doRelease == 'true' }}
 | 
				
			||||||
    needs: build_ffmpeg
 | 
					    needs: build_ffmpeg
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue