Remove the temporary failure-report step
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
32878d825e
commit
ac2e89c057
1 changed files with 2 additions and 13 deletions
|
|
@ -34,21 +34,10 @@ jobs:
|
||||||
"https://github.com/eriknihlen/OpenAC/releases/download/${OPENAC_API_RELEASE_TAG}/AcDream.Plugin.Abstractions.${OPENAC_API_VERSION}.nupkg"
|
"https://github.com/eriknihlen/OpenAC/releases/download/${OPENAC_API_RELEASE_TAG}/AcDream.Plugin.Abstractions.${OPENAC_API_VERSION}.nupkg"
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: dotnet build OpenAC.MosswartMassacre.slnx -c Release --nologo 2>&1 | tee -a ci.log; exit ${PIPESTATUS[0]}
|
run: dotnet build OpenAC.MosswartMassacre.slnx -c Release --nologo
|
||||||
shell: bash
|
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: dotnet test OpenAC.MosswartMassacre.slnx -c Release --no-build --nologo 2>&1 | tee -a ci.log; exit ${PIPESTATUS[0]}
|
run: dotnet test OpenAC.MosswartMassacre.slnx -c Release --no-build --nologo
|
||||||
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
|
|
||||||
|
|
||||||
release:
|
release:
|
||||||
# Tag pushes only, once the build and tests are green.
|
# Tag pushes only, once the build and tests are green.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue