fix(workflow): correct output handling in release-on-tag.yml
Corrected the output handling in the 'release-on-tag.yml' workflow file by changing 'result-encoding' to 'outputs'. This ensures that the step correctly checks if a release exists before attempting to create a new one, thereby avoiding potential errors during the release process. Added a blank line for better readability.
This commit is contained in:
		
							parent
							
								
									1ff25f9d33
								
							
						
					
					
						commit
						a20178fc6e
					
				
							
								
								
									
										3
									
								
								.github/workflows/release-on-tag.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/release-on-tag.yml
									
									
									
									
										vendored
									
									
								
							| @ -8,6 +8,7 @@ on: | ||||
| jobs: | ||||
|   create_release: | ||||
|     runs-on: ubuntu-latest | ||||
| 
 | ||||
|     steps: | ||||
|       - name: Check if Release Exists | ||||
|         id: check_release | ||||
| @ -28,7 +29,7 @@ jobs: | ||||
|                 throw error | ||||
|               } | ||||
|             } | ||||
|           result-encoding: string | ||||
|           outputs: release_exists | ||||
| 
 | ||||
|       - name: Create Release | ||||
|         if: steps.check_release.outputs.release_exists == 'false' | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Yidi
						Yidi