Skip to content

Gitea Actions is incompatible with actions/upload-artifact@v6 and later versions #36829

@imkuang

Description

@imkuang

Description

Hello,

I've noticed that actions/upload-artifact@v6 has long been unavailable in Gitea Actions, and the recently released actions/upload-artifact@v7 is also still unavailable. In contrast, both actions/download-artifact@v7 and actions/download-artifact@v8 work very well.

NOTE: Due to GHES checks, the original actions/upload-artifact cannot be used directly. I am using a version where I have replaced the implementation of the isGhes function myself.

You can view the test workflow and the specific actions versions I used at the following URL. Below are the test results for different versions:
actions/upload-artifact@v5: https://git.imkuang.com/actions/gitea-upload-artifact/actions/runs/72/jobs/1 , test pass

actions/upload-artifact@v6: https://git.imkuang.com/actions/gitea-upload-artifact/actions/runs/68/jobs/1 , test fail
Image

actions/upload-artifact@v7: https://git.imkuang.com/actions/gitea-upload-artifact/actions/runs/71/jobs/1 , test fail
Image

Gitea Version

1.25.4

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Docker

Database

SQLite

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions