]> source.dussan.org Git - gitea.git/commit
Actions Artifacts v4 backend (#28965)
authorChristopherHX <christopher.homberger@web.de>
Sat, 2 Mar 2024 09:12:17 +0000 (10:12 +0100)
committerGitHub <noreply@github.com>
Sat, 2 Mar 2024 09:12:17 +0000 (09:12 +0000)
commita53d268aca87a281aadc2246541f8749eddcebed
tree20074581356a95cdf718b13fdc81b6a54fc70eb9
parent8a0a83a1b53f55bcc710c3b229cba1c1bcf471c6
Actions Artifacts v4 backend (#28965)

Fixes #28853

Needs both https://gitea.com/gitea/act_runner/pulls/473 and
https://gitea.com/gitea/act_runner/pulls/471 on the runner side and
patched `actions/upload-artifact@v4` / `actions/download-artifact@v4`,
like `christopherhx/gitea-upload-artifact@v4` and
`christopherhx/gitea-download-artifact@v4`, to not return errors due to
GHES not beeing supported yet.
models/fixtures/action_run.yml
models/fixtures/action_run_job.yml
models/fixtures/action_task.yml
routers/api/actions/artifact.pb.go [new file with mode: 0644]
routers/api/actions/artifact.proto [new file with mode: 0644]
routers/api/actions/artifacts_chunks.go
routers/api/actions/artifacts_utils.go
routers/api/actions/artifactsv4.go [new file with mode: 0644]
routers/init.go
routers/web/repo/actions/view.go
tests/integration/api_actions_artifact_v4_test.go [new file with mode: 0644]