oleg-alexandrov / Github-Release-Action

Publish Github releases in an action

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Github-Release-Action

Actions Status

Creates a plain Github release, without attaching assets or source code.

Usage

name: Publish Release
on:
  push:
    tags:
      - 'v*'
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - name: Create a Release
      uses: elgohr/Github-Release-Action@v4
      env:
        GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
      with:
        title: MyReleaseMessage

Notes

${{ secrets.GITHUB_TOKEN }} can't be used for publishing, as it isn't allowed to publish releases.

The title field is a message which should appear in the release. May not contain spaces.

About

Publish Github releases in an action

License:MIT License


Languages

Language:Shell 100.0%