Patch upload-artifact v4.6.2 for Gitea
Some checks failed
Code scanning - action / CodeQL-Build (push) Has been cancelled

This commit is contained in:
ephesus
2026-07-11 14:54:25 +08:00
parent ea165f8d65
commit 6acca0642c
3 changed files with 17 additions and 14 deletions

13
GITEA_PATCH.md Normal file
View File

@@ -0,0 +1,13 @@
# 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.