Skip to content

opspresso/action-release

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Release

GitHub Actions status GitHub Releases

Usage

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"

env

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