mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2024-12-22 10:45:27 +00:00
Add prerelease input to action.yml
This commit is contained in:
parent
4d98c454fb
commit
a29fc96f18
|
@ -32,7 +32,10 @@ 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"
|
||||||
steps:
|
steps:
|
||||||
|
@ -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