Build, test and release on the club Gitea #2

Merged
erik merged 5 commits from claude/forgejo-ci into main 2026-09-26 14:05:08 +00:00
Showing only changes of commit 84155c0d18 - Show all commits

View file

@ -47,10 +47,7 @@ jobs:
TOKEN: ${{ secrets.FORGEJO_TOKEN }}
run: |
(dotnet --info 2>&1 | head -20; echo ----; tail -c 6000 ci.log 2>/dev/null) > diag.txt || true
python3 -c 'import json,sys; print(json.dumps({"body": "CI failure output:
```
" + open("diag.txt", errors="replace").read() + "
```"}))' > diag.json
python3 -c 'import json; t=open("diag.txt", errors="replace").read(); n=chr(10); f=chr(96)*3; print(json.dumps({"body": "CI failure output:"+n+f+n+t+n+f}))' > diag.json
curl -fsS -X POST -H "Authorization: token $TOKEN" -H "Content-Type: application/json" -d @diag.json "${GITHUB_SERVER_URL}/api/v1/repos/${GITHUB_REPOSITORY}/issues/2/comments" > /dev/null
release: