Add prerelease input to action.yml

This commit is contained in:
Neshura 2024-01-03 18:23:39 +00:00
parent 4d98c454fb
commit a29fc96f18

View file

@ -32,6 +32,9 @@ inputs:
verbose: verbose:
description: 'Increase the verbosity level' description: 'Increase the verbosity level'
default: 'false' default: 'false'
prerelease:
description: 'Mark Release as Pre-Release'
default: 'false'
runs: runs:
using: "composite" using: "composite"
@ -60,6 +63,8 @@ runs:
TAG=${TAG##refs/tags/} TAG=${TAG##refs/tags/}
fi fi
export PRERELEASE="${{ inputs.prerelease }}"
export TOKEN="${{ inputs.token }}" export TOKEN="${{ inputs.token }}"
export RELEASE_DIR="${{ inputs.release-dir }}" export RELEASE_DIR="${{ inputs.release-dir }}"