mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2025-04-24 18:02:15 +00:00
allow downloading 'latest' release
This commit is contained in:
parent
de47e391d3
commit
a0f138387a
1 changed files with 4 additions and 0 deletions
|
@ -12,6 +12,8 @@ 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
|
||||||
|
@ -66,6 +68,8 @@ runs:
|
||||||
TAG=${TAG##refs/tags/}
|
TAG=${TAG##refs/tags/}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
export LATEST="${{ inputs.latest }}"
|
||||||
|
|
||||||
export PRERELEASE="${{ inputs.prerelease }}"
|
export PRERELEASE="${{ inputs.prerelease }}"
|
||||||
|
|
||||||
export TOKEN="${{ inputs.token }}"
|
export TOKEN="${{ inputs.token }}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue