mirror of
				https://github.com/Mibew/simple-icons.git
				synced 2025-10-31 02:25:59 +03:00 
			
		
		
		
	Upgrade git-message-action from v1 to v1.2.0 (#6424)
This commit is contained in:
		
							parent
							
								
									2cfea3131c
								
							
						
					
					
						commit
						f9e8ecb777
					
				
							
								
								
									
										16
									
								
								.github/workflows/publish.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								.github/workflows/publish.yml
									
									
									
									
										vendored
									
									
								
							| @ -71,17 +71,7 @@ jobs: | ||||
|         uses: actions/checkout@v2 | ||||
|       - name: Get commit message (for release title and body) | ||||
|         id: commit | ||||
|         uses: kceb/git-message-action@v1 | ||||
|       - name: Get release title and body | ||||
|         id: release | ||||
|         run: | | ||||
|           RELEASE_TITLE=$(echo "${{ steps.commit.outputs.git-message }}" | head -n 1) | ||||
|           echo "::set-output name=title::$RELEASE_TITLE" | ||||
|           RELEASE_BODY=$(echo "${{ steps.commit.outputs.git-message }}" | tail -n $(expr $(echo "${{ steps.commit.outputs.git-message }}" | wc -l) - 1)) | ||||
|           RELEASE_BODY="${RELEASE_BODY//'%'/'%25'}" | ||||
|           RELEASE_BODY="${RELEASE_BODY//$'\n'/'%0A'}" | ||||
|           RELEASE_BODY="${RELEASE_BODY//$'\r'/'%0D'}" | ||||
|           echo "::set-output name=body::$RELEASE_BODY" | ||||
|         uses: kceb/git-message-action@v1.2.0 | ||||
|       - name: Get release version | ||||
|         id: get-version | ||||
|         run: | | ||||
| @ -98,8 +88,8 @@ jobs: | ||||
|           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||
|         with: | ||||
|           tag_name: ${{ steps.get-version.outputs.version }} | ||||
|           release_name: ${{ steps.release.outputs.title }} | ||||
|           body: ${{ steps.release.outputs.body }} | ||||
|           release_name: ${{ steps.commit.outputs.title }} | ||||
|           body: ${{ steps.commit.outputs.body }} | ||||
|   font: | ||||
|     name: Trigger simple-icons-font release | ||||
|     needs: npm | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user