fix: pin actions/upload-artifact to v3 to ensure compatibility with Gitea
tests / python (3.10) (push) Successful in 13s
tests-macos / macos (push) Successful in 20s
tests / python (3.11) (push) Successful in 13s
tests / web (push) Successful in 38s

This commit is contained in:
Netherwarlord
2026-07-29 13:51:38 -04:00
parent d9123461dc
commit dd38181f56
2 changed files with 13 additions and 1 deletions
+7
View File
@@ -29,6 +29,13 @@ DEFAULT_ACTIONS_URL = https://github.com
Public repositories clone anonymously, so a locked or absent GitHub account does
not affect this. Restart Gitea afterwards.
**Pin `actions/upload-artifact` to v3.** From v4 the action refuses to run
against any host that is not github.com — it treats everything else as GitHub
Enterprise and aborts with `GHESNotSupportedError` before uploading anything.
The check lives inside the action, so Gitea's own artifact support is
irrelevant; v4 cannot work here at any Gitea version. The same applies to
`download-artifact`.
## 2. Register a runner
Get a registration token from **Site Administration → Actions → Runners**, then: