You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Github Release
v3.1
Publish Github releases
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.RELEASE_TOKEN }}
with:
args: MyReleaseMessage
Please note, that you can't use ${{ secrets.GITHUB_TOKEN }}
as it isn't allowed to publish releases.
The message which should appear in the release