You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Github Release
v4
Creates a plain Github release, without attaching assets or source code.
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
${{ 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.