mirror of
				https://github.com/Mibew/simple-icons.git
				synced 2025-10-31 18:41:07 +03:00 
			
		
		
		
	Synchronize workflow with 'simple-icons-font' repo (#4408)
This commit is contained in:
		
							parent
							
								
									bcfcab934f
								
							
						
					
					
						commit
						6379ae7022
					
				
							
								
								
									
										8
									
								
								.github/workflows/publish.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/publish.yml
									
									
									
									
										vendored
									
									
								
							| @ -52,22 +52,20 @@ jobs: | ||||
|         RELEASE_BODY=$(echo '${{ steps.commit.outputs.git-message }}' | tail -n $(expr $(echo '${{ steps.commit.outputs.git-message }}' | wc -l) - 1)) | ||||
|         echo "::set-output name=body::$RELEASE_BODY" | ||||
|     - name: Get release version | ||||
|       id: get_version | ||||
|       id: get-version | ||||
|       run: | | ||||
|         export PACKAGE_VERSION=$(cat package.json | grep 'version' | sed 's/[ \",:]//g' | sed 's/version//') | ||||
|         echo "::set-output name=version::$PACKAGE_VERSION" | ||||
|     - name: Create and push git tag | ||||
|       uses: actions-ecosystem/action-push-tag@v1 | ||||
|       with: | ||||
|         tag: ${{ steps.get_version.outputs.version }} | ||||
|         tag: ${{ steps.get-version.outputs.version }} | ||||
|         message: ${{ steps.commit.outputs.git-message }} | ||||
|     - name: Create release | ||||
|       uses: actions/create-release@v1 | ||||
|       env: | ||||
|         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||
|       with: | ||||
|         tag_name: ${{ steps.get_version.outputs.version }} | ||||
|         tag_name: ${{ steps.get-version.outputs.version }} | ||||
|         release_name: ${{ steps.release.outputs.title }} | ||||
|         body: ${{ steps.release.outputs.body }} | ||||
|         draft: false | ||||
|         prerelease: false | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user