diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 807d386..52e5929 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -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"