Create GitHub releases with GitHub Actions

Published:
Talks about: , , and

The actions/create-release action allows to create a new GitHub releases in your GitHub Action.

name: <PIPELINE>
jobs:
  build:
    runs-on: <RUN_ON>
    steps:
     - name: Create Release
       uses: actions/create-release@v1
       env:
         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
       with:
         tag_name: <TAG>
         release_name: <RELEASE>
         draft: false
         prerelease: false
         body: |
           Your release text here

           Some code block:
           ```yaml
           yaml:
             inside:
               of:
                 another: yaml
           ```