From a0f138387a698984e2851ff42afffc29d0f09af7 Mon Sep 17 00:00:00 2001 From: benniekiss Date: Fri, 5 Jul 2024 13:39:58 +0000 Subject: [PATCH] allow downloading 'latest' release --- action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/action.yml b/action.yml index 1f2cf83..092d2a2 100644 --- a/action.yml +++ b/action.yml @@ -12,6 +12,8 @@ inputs: description: 'Tag of the release' sha: description: 'SHA of the release' + latest: + description: 'Download the latest release' token: description: 'Forgejo application token' required: true @@ -66,6 +68,8 @@ runs: TAG=${TAG##refs/tags/} fi + export LATEST="${{ inputs.latest }}" + export PRERELEASE="${{ inputs.prerelease }}" export TOKEN="${{ inputs.token }}"