Create GitHub releases with GitHub Actions

Published:
, Updated:
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/[email protected]
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
```
<PIPELINE>
: The name of your pipeline.<RUN_ON>
: The runner to use, see GitHub’s own documentation for possible values.<TAG>
: The Git tag to create.<RELEASE>
: The release name to use.