mirror of
https://gitea.com/gitea/docs.git
synced 2026-09-17 19:55:34 +00:00
25dce1df626938e9d3b6b8f80541bb0451c9959e
Add comprehensive reference tables for pre-defined variables available in Gitea Actions workflows, derived from the Gitea and act_runner source code.
## Context variables (`${{ gitea.<name> }}`)
All context variables with their `github.*` aliases and descriptions, sourced from `services/actions/context.go`.
## Environment variables
- **Standard**: `CI`, `GITEA_ACTIONS`, `GITEA_ACTIONS_RUNNER_VERSION`, `GITHUB_*`, and the 5 `GITEA_*` aliases for workflow file commands (`GITEA_ENV`, `GITEA_OUTPUT`, `GITEA_PATH`, `GITEA_STATE`, `GITEA_STEP_SUMMARY`)
- **Runner**: `RUNNER_OS`, `RUNNER_ARCH`, `RUNNER_TEMP`, `RUNNER_TOOL_CACHE`
- **Internal**: `ACTIONS_CACHE_URL`, `ACTIONS_RUNTIME_*`, etc.
Closes https://gitea.com/gitea/docs/issues/350
Reviewed-on: https://gitea.com/gitea/docs/pulls/369
Reviewed-by: Lunny Xiao <[email protected]>
Co-authored-by: silverwind <[email protected]>
Co-committed-by: silverwind <[email protected]>
Remove outdated versions and keep the latest 5 versions(include the current developing version and latest 4 stable versions (#304)
Languages
TypeScript
42.4%
MDX
30.9%
Astro
8.1%
JavaScript
6.4%
Shell
6%
Other
6.2%