mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2024-11-25 06:41:04 -05:00
Add prerelease input to action.yml
This commit is contained in:
parent
4d98c454fb
commit
a29fc96f18
1 changed files with 6 additions and 1 deletions
|
@ -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 }}"
|
||||||
|
|
Loading…
Reference in a new issue