Release to GitHub
ActionsTags
(2)name: GitHub Release
on: push
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Release to GitHub
uses: opspresso/action-release@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG_NAME: "v0.0.1"| Name | Description | Default | Required |
|---|---|---|---|
| GITHUB_TOKEN | Your GitHub Token. | Yes | |
| TAG_NAME | The name of the tag. | $(cat ./target/TAG_NAME) | No |
| TARGET_COMMITISH | Specifies the commitish value that determines where the Git tag is created from. | master | No |
| NAME | The name of the release. | No | |
| BODY | Text describing the contents of the tag. | No | |
| DRAFT | true to create a draft (unpublished) release, false to create a published one. |
false | No |
| PRERELEASE | true to identify the release as a prerelease. false to identify the release as a full release. |
false | No |
| ASSET_PATH | The path where the release asset files. | No |
Release to GitHub is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.