gitea/models/migrations/v1_20
FuXiaoHei c757765a9e
Implement actions artifacts (#22738)
Implement action artifacts server api.

This change is used for supporting
https://github.com/actions/upload-artifact and
https://github.com/actions/download-artifact in gitea actions. It can
run sample workflow from doc
https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts.
The api design is inspired by
https://github.com/nektos/act/blob/master/pkg/artifacts/server.go and
includes some changes from gitea internal structs and methods.

Actions artifacts contains two parts:

- Gitea server api and storage (this pr implement basic design without
some complex cases supports)
- Runner communicate with gitea server api (in comming)

Old pr https://github.com/go-gitea/gitea/pull/22345 is outdated after
actions merged. I create new pr from main branch.


![897f7694-3e0f-4f7c-bb4b-9936624ead45](https://user-images.githubusercontent.com/2142787/219382371-eb3cf810-e4e0-456b-a8ff-aecc2b1a1032.jpeg)

Add artifacts list in actions workflow page.
2023-05-19 21:37:57 +08:00
..
v244.go Require approval to run actions for fork pull request (#22803) 2023-02-24 15:58:49 +08:00
v245.go Add user webhooks (#21563) 2023-03-10 08:28:32 -06:00
v246.go Fix missed migration in #22235 (#23482) 2023-03-15 10:33:10 +01:00
v247.go Do not store user projects as organization projects (#23353) 2023-03-17 21:07:23 +08:00
v248.go Display the version of runner in the runner list (#23490) 2023-03-19 22:19:40 -04:00
v249.go Improve indices for `action` table (#23532) 2023-03-24 23:44:33 +08:00
v250.go Display image size for multiarch container images (#23821) 2023-04-02 17:53:37 +08:00
v251.go Fix owner team access mode value in team_unit table (#23675) 2023-04-03 10:36:35 -04:00
v252.go Fix admin team access mode value in team_unit table (#24012) 2023-04-13 21:06:10 +02:00
v253.go Add migration to fix external unit access mode of owner/admin team (#24117) 2023-04-15 09:52:44 -04:00
v254.go Support upload `outputs` and use `needs` context on Actions (#24230) 2023-04-22 16:12:41 -04:00
v255.go Display when a repo was archived (#22664) 2023-04-26 10:46:26 -04:00
v256.go Add Debian package registry (#24426) 2023-05-02 12:31:35 -04:00
v257.go Implement actions artifacts (#22738) 2023-05-19 21:37:57 +08:00