Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
git-branch

GitHub Action

Github Release

3.0

Github Release

git-branch

Github Release

Publish Github releases from an action

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Github Release

uses: elgohr/[email protected]

Learn more about this action in elgohr/Github-Release-Action

Choose a version

Github-Release-Action

Actions Status

Publish Github releases

Usage

New workflow

name: Publish Release
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - name: Create a Release
      uses: elgohr/Github-Release-Action@master
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      with:
        args: MyReleaseMessage

Argument

The message which should appear in the release