Update .gitea/workflows/release.yml
Some checks failed
Release / meta (push) Successful in 2s
Release / android-build (push) Failing after 1m55s
Release / linux-build (push) Failing after 2m4s
Release / windows-build (push) Has been cancelled
Release / release-dev (push) Has been cancelled
Release / release-master (push) Has been cancelled

This commit is contained in:
2025-12-11 01:34:38 +00:00
parent eaabade12a
commit 0d896786ca

View File

@@ -268,4 +268,21 @@ jobs:
FILES="artifacts/app-${BASE}.apk" FILES="artifacts/app-${BASE}.apk"
FILES="${FILES}"$'\n'"artifacts/app-linux-x64-${BASE}.tar.gz" FILES="${FILES}"$'\n'"artifacts/app-linux-x64-${BASE}.tar.gz"
if [ -f "artifacts/app-windows-x64-${BASE}.zip" ]; then if [ -f "artifacts/app-windows-x64-${BASE}.zip" ]; then
::contentReference[oaicite:0]{index=0} FILES="${FILES}"$'\n'"artifacts/app-windows-x64-${BASE}.zip"
fi
{
echo "tag=${TAG}"
echo 'files<<EOF'
printf '%s\n' "$FILES"
echo 'EOF'
} >> "$GITHUB_OUTPUT"
- name: Create release on Gitea
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.bundle.outputs.tag }}
name: ${{ steps.bundle.outputs.tag }}
prerelease: false
token: ${{ secrets.GITEA_TOKEN }}
artifacts: ${{ steps.bundle.outputs.files }}