diff --git a/action.yml b/action.yml index d06dee9..fb6bdbd 100644 --- a/action.yml +++ b/action.yml @@ -46,6 +46,9 @@ runs: export TAG="${{ inputs.tag }}" if test -z "$TAG"; then export TAG="${{ github.ref_name }}" + # until https://code.forgejo.org/forgejo/runner/issues/9 is fixed + # trim refs/tags/ + TAG=${TAG##refs/tags/} fi export TOKEN="${{ inputs.token }}" if test -z "$TOKEN"; then