forked from herocode/horus
Update .gitea/workflows/release.yml
This commit is contained in:
@@ -22,6 +22,17 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
toolchain: stable
|
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
|
- name: Extract version from tag
|
||||||
id: version
|
id: version
|
||||||
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> "$GITHUB_OUTPUT"
|
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> "$GITHUB_OUTPUT"
|
||||||
|
|||||||
Reference in New Issue
Block a user