0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 20:54:50 +01:00
gitea/templates/repo
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
..
actions Implement actions artifacts (#22738) 2023-05-19 21:37:57 +08:00
branch Improve button-ghost, remove tertiary button (#24692) 2023-05-13 20:38:22 +00:00
cite
diff Add markdown preview to Submit Review Textarea (#24672) 2023-05-12 10:53:41 +00:00
editor
find
graph
issue Support no label/assignee filter and batch clearing labels/assignees (#24707) 2023-05-17 17:21:35 +08:00
migrate Rework Oauth login buttons, swap github logo to monocolor (#24740) 2023-05-15 22:46:51 +00:00
projects Update pin and add pin-slash (#24669) 2023-05-12 14:38:59 +08:00
pulls
release RSS icon fixes (#24476) 2023-05-10 22:27:02 +00:00
settings Support for status check pattern (#24633) 2023-05-17 16:11:13 +08:00
tag RSS icon fixes (#24476) 2023-05-10 22:27:02 +00:00
wiki
activity.tmpl
blame.tmpl
branch_dropdown.tmpl
clone_buttons.tmpl
clone_script.tmpl
commit_page.tmpl
commit_status.tmpl
commit_statuses.tmpl
commits.tmpl
commits_list.tmpl
commits_list_small.tmpl Clean up various avatar dimensions (#24701) 2023-05-14 14:15:59 +00:00
commits_table.tmpl
create.tmpl
create_helper.tmpl
empty.tmpl
file_info.tmpl
forks.tmpl
graph.tmpl
header.tmpl Refactor Pull Mirror and fix out-of-sync bugs (#24732) 2023-05-15 19:02:10 +00:00
home.tmpl Improve button-ghost, remove tertiary button (#24692) 2023-05-13 20:38:22 +00:00
icon.tmpl
packages.tmpl
release_tag_header.tmpl Remove svg.svg class, restore .rss-icon (#24667) 2023-05-12 10:23:53 +00:00
search.tmpl
search_name.tmpl
shabox_badge.tmpl
sub_menu.tmpl
unicode_escape_prompt.tmpl
upload.tmpl
user_cards.tmpl
view_file.tmpl
view_list.tmpl
watchers.tmpl