This GitHub action uses the GitHub API to create a GitHub Release.
Create a workflow .yml
file in your .github/workflows
directory. An example workflow is available below.
For more information, reference the GitHub Help Documentation for Creating a workflow file
token
: The token to use for the GitHub API. default: ${{ github.token }}version
(required): The version to releasebody
(required): The release summary. default: ''microservice
(optional): The name of the Microservice that should be released. The name should not contain spaces.
on:
push:
branches:
- '**'
pull_request:
types: [closed]
name: GitHub Release
jobs:
context:
name: Job name
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Release
uses: dolittle/github-release-action@v1
with:
version: 2.0.0
We're always open for contributions and bug fixes!
- node <= 12
- yarn
- git