Skip to content

CICD-056 · Preflight artifact support ​

Encyclopedia · Gitea runner fundamentals · All snippets

Previous · CICD-055 · Next · CICD-057

1. Where it fits ​

  • Placement .gitea/workflows/ci.yml, at the workflow level for on and inside steps for uses.
  • Prerequisites Gitea Actions enabled, authorized trusted runner registered and local repository checked out when needed.
  • Platforms gitea-actions.

2. Copy the snippet ​

yaml
uses: actions/upload-artifact@v3
with:
  name: runner-probe
  path: probe.txt

3. How it works ​

Artifact upload involves both the action runtime and a server endpoint. The version here belongs to older compatible Gitea setups and must be confirmed locally.

4. Verify the result ​

Use only on a release that supports this artifact protocol. GitHub.com retired v3 and uses v4.

Validation syntax-validated (YAML parse). Status definitions.