Update .gitea/workflows/release.yml
Some checks failed
CI / Build & Test (push) Failing after 1m38s
Release / Build Release Binaries (push) Successful in 3m18s

This commit is contained in:
2025-11-19 15:01:40 +00:00
parent 2b98e32a2a
commit 375beb8fff

View File

@@ -22,6 +22,17 @@ jobs:
with:
toolchain: stable
- name: Debug TOKEN_GITEA is set
run: |
if [ -z "$TOKEN_GITEA" ]; then
echo "ERROR: TOKEN_GITEA is EMPTY"
exit 1
else
echo "TOKEN_GITEA is set (length: ${#TOKEN_GITEA})"
fi
env:
TOKEN_GITEA: ${{ secrets.TOKEN_GITEA }}
- name: Extract version from tag
id: version
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> "$GITHUB_OUTPUT"