Skip to content

Merian0818/Github-Release-Action

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

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github-Release-Action

Actions Status Actions Status

Publish Github releases

Usage

name: Publish Release

on:
  push:
    tags:
      - 'v*'

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.RELEASE_TOKEN }}
      with:
        args: MyReleaseMessage

Please note, that you can't use ${{ secrets.GITHUB_TOKEN }} as it isn't allowed to publish releases.

Argument

The message which should appear in the release. May not contain spaces.

About

Publish Github releases in an action

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 79.3%
  • Shell 20.7%