https://github.com/dolittle/github-release-action
https://github.com/dolittle/github-release-action
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dolittle/github-release-action
- Owner: dolittle
- License: mit
- Created: 2020-06-18T17:32:28.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-08-11T14:28:08.000Z (over 2 years ago)
- Last Synced: 2025-04-14T13:10:42.207Z (9 months ago)
- Language: TypeScript
- Size: 341 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub Action - GitHub Release
This GitHub action uses the GitHub API to create a GitHub Release.

### Pre requisites
Create a workflow `.yml` file in your `.github/workflows` directory. An [example workflow](#example-workflow) is available below.
For more information, reference the GitHub Help Documentation for [Creating a workflow file](https://help.github.com/en/articles/configuring-a-workflow#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
```yaml
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
```
## Contributing
We're always open for contributions and bug fixes!
### Pre requisites
- node <= 12
- yarn
- git