build(gha): Add skip_prepare option for manual triggers
This commit is contained in:
		
							
								
								
									
										1
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							@@ -17,6 +17,7 @@ jobs:
 | 
				
			|||||||
          run: echo "::set-output name=version::$(date +'%y.%-m.0')"
 | 
					          run: echo "::set-output name=version::$(date +'%y.%-m.0')"
 | 
				
			||||||
        - uses: actions/checkout@v2
 | 
					        - uses: actions/checkout@v2
 | 
				
			||||||
        - uses: getsentry/craft@master
 | 
					        - uses: getsentry/craft@master
 | 
				
			||||||
 | 
					          if: ${{ !github.event.client_payload.skip_prepare }}
 | 
				
			||||||
          with:
 | 
					          with:
 | 
				
			||||||
            action: prepare
 | 
					            action: prepare
 | 
				
			||||||
            version: ${{ github.event.client_payload.version || steps.calver.outputs.version }}
 | 
					            version: ${{ github.event.client_payload.version || steps.calver.outputs.version }}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user