Chore: set default in action.yml

This commit is contained in:
Dorian Zedler 2025-04-06 17:51:21 +02:00
parent e96cb854f9
commit 6979495e69
No known key found for this signature in database
GPG key ID: 989DE36109AFA354
2 changed files with 5 additions and 7 deletions

View file

@ -16,6 +16,7 @@ inputs:
description: 'SHA of the release'
token:
description: 'Forgejo application token'
default: '${{ secrets.GITHUB_TOKEN }}'
release-dir:
description: 'Directory in whichs release assets are uploaded or downloaded'
required: true
@ -89,9 +90,6 @@ runs:
export HIDE_ARCHIVE_LINK="${{ inputs.hide-archive-link }}"
export TOKEN="${{ inputs.token }}"
if test -z "$TOKEN"; then
export TOKEN="${{ secrets.GITHUB_TOKEN }}"
fi
export RELEASE_DIR="${{ inputs.release-dir }}"