SuperMarioOdysseyOnline/.github/actions/release/action.yml
Robin C. Ladiges 89a76aedab
don't start release names with "Release "
the title of the page will otherwise read "Release Release v..."
2022-08-13 22:46:59 +02:00

36 lines
732 B
YAML

name: Create release
inputs:
tag:
description : 'Version tag'
required : true
GITHUB_TOKEN:
description : 'Secret GitHub token required to create the release'
required : true
outputs:
id:
value: ${{ steps.release.outputs.id }}
html_url:
value: ${{ steps.release.outputs.html_url }}
upload_url:
value: ${{ steps.release.outputs.upload_url }}
runs:
using: composite
steps:
-
name : Create release
id : release
uses : actions/create-release@v1
env:
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
with:
tag_name : ${{ inputs.tag }}
release_name : ${{ inputs.tag }}
body : ''
draft : true
prerelease : false