Skip to content

Repository files navigation

GitHub Action - GitHub Release

This GitHub action uses the GitHub API to create a GitHub Release.

Github JavaScript Actions CI/CD

Pre requisites

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

Inputs

  • token: The token to use for the GitHub API. default: ${{ github.token }}
  • version (required): The version to release
  • body (required): The release summary. default: ''
  • microservice (optional): The name of the Microservice that should be released. The name should not contain spaces.

Example Workflow

on:
push:
branches:
- '**'pull_request:
types: [closed]name: GitHub Releasejobs:
context:
name: Job nameruns-on: ubuntu-lateststeps:
- name: Checkout codeuses: actions/checkout@v2
- name: Releaseuses: dolittle/github-release-action@v1with:
version: 2.0.0

Contributing

We're always open for contributions and bug fixes!

Pre requisites

  • node <= 12
  • yarn
  • git

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages