From ac2e89c0578bbaf25784343f100cbf67bbe20f9b Mon Sep 17 00:00:00 2001 From: Erik Date: Sat, 26 Sep 2026 16:04:16 +0200 Subject: [PATCH] Remove the temporary failure-report step Co-Authored-By: Claude Opus 5.5 --- .forgejo/workflows/ci.yml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 85caa24..4685e1d 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -34,21 +34,10 @@ jobs: "https://github.com/eriknihlen/OpenAC/releases/download/${OPENAC_API_RELEASE_TAG}/AcDream.Plugin.Abstractions.${OPENAC_API_VERSION}.nupkg" - name: Build - run: dotnet build OpenAC.MosswartMassacre.slnx -c Release --nologo 2>&1 | tee -a ci.log; exit ${PIPESTATUS[0]} - shell: bash + run: dotnet build OpenAC.MosswartMassacre.slnx -c Release --nologo - name: Test - run: dotnet test OpenAC.MosswartMassacre.slnx -c Release --no-build --nologo 2>&1 | tee -a ci.log; exit ${PIPESTATUS[0]} - shell: bash - - - name: Temporary - post the failure output - if: failure() - env: - 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; 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 + run: dotnet test OpenAC.MosswartMassacre.slnx -c Release --no-build --nologo release: # Tag pushes only, once the build and tests are green.