mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2025-04-24 18:02:15 +00:00
rename download_latest option
This commit is contained in:
parent
a0f138387a
commit
332006402a
1 changed files with 4 additions and 3 deletions
|
@ -12,8 +12,6 @@ inputs:
|
||||||
description: 'Tag of the release'
|
description: 'Tag of the release'
|
||||||
sha:
|
sha:
|
||||||
description: 'SHA of the release'
|
description: 'SHA of the release'
|
||||||
latest:
|
|
||||||
description: 'Download the latest release'
|
|
||||||
token:
|
token:
|
||||||
description: 'Forgejo application token'
|
description: 'Forgejo application token'
|
||||||
required: true
|
required: true
|
||||||
|
@ -31,6 +29,9 @@ inputs:
|
||||||
description: 'Passphrase of the GPG Private Key'
|
description: 'Passphrase of the GPG Private Key'
|
||||||
download-retry:
|
download-retry:
|
||||||
description: 'Number of times to retry if the release is not ready (default 1)'
|
description: 'Number of times to retry if the release is not ready (default 1)'
|
||||||
|
download_latest:
|
||||||
|
description: 'Download the latest release'
|
||||||
|
default: 'false'
|
||||||
verbose:
|
verbose:
|
||||||
description: 'Increase the verbosity level'
|
description: 'Increase the verbosity level'
|
||||||
default: 'false'
|
default: 'false'
|
||||||
|
@ -68,7 +69,7 @@ runs:
|
||||||
TAG=${TAG##refs/tags/}
|
TAG=${TAG##refs/tags/}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export LATEST="${{ inputs.latest }}"
|
export DOWNLOAD_LATEST="${{ inputs.download_latest }}"
|
||||||
|
|
||||||
export PRERELEASE="${{ inputs.prerelease }}"
|
export PRERELEASE="${{ inputs.prerelease }}"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue