Update release workflow
This commit is contained in:
		
							parent
							
								
									dc94259a56
								
							
						
					
					
						commit
						354bc7c90f
					
				
							
								
								
									
										8
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							@ -1,17 +1,13 @@
 | 
				
			|||||||
name: Release
 | 
					name: Release
 | 
				
			||||||
 | 
					
 | 
				
			||||||
on:
 | 
					on:
 | 
				
			||||||
  workflow_run:
 | 
					  push:
 | 
				
			||||||
    workflows: ["Run Tests"]
 | 
					 | 
				
			||||||
    types:
 | 
					 | 
				
			||||||
      - completed
 | 
					 | 
				
			||||||
    tags:
 | 
					    tags:
 | 
				
			||||||
      - "v*"
 | 
					      - "v*"
 | 
				
			||||||
  workflow_dispatch:
 | 
					  workflow_dispatch:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  on-success:
 | 
					  on-success:
 | 
				
			||||||
    if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
 | 
					 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - uses: actions/checkout@v4
 | 
					      - uses: actions/checkout@v4
 | 
				
			||||||
@ -98,7 +94,7 @@ jobs:
 | 
				
			|||||||
          done
 | 
					          done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Release
 | 
					      - name: Release
 | 
				
			||||||
        - uses: ncipollo/release-action@v1
 | 
					        uses: ncipollo/release-action@v1
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          artifacts: "dist/*.zip"
 | 
					          artifacts: "dist/*.zip"
 | 
				
			||||||
          generateReleaseNotes: true
 | 
					          generateReleaseNotes: true
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user