Files
ci-upload-artifact-action/GITEA_PATCH.md
ephesus 6acca0642c
Some checks failed
Code scanning - action / CodeQL-Build (push) Has been cancelled
Patch upload-artifact v4.6.2 for Gitea
2026-07-11 14:54:25 +08:00

586 B

Gitea compatibility patch

This branch is based on actions/upload-artifact v4.6.2 at ea165f8d65b6e75b540449e92b4886f43607fa02.

Gitea implements the v4 artifact results service, but upstream @actions/artifact classifies every non-GitHub host as unsupported GHES before contacting that service. The compiled upload and merge entry points therefore override isGhes() to return false.

This is the same narrow compatibility strategy documented by Gitea and used by christopherhx/gitea-upload-artifact@v4. No upload, archive, retention, digest, or transport logic is changed.