rename download_latest option

This commit is contained in:
benniekiss 2024-07-05 14:35:11 +00:00 committed by benniekiss
parent a0f138387a
commit 332006402a

View file

@ -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 }}"