mirror of
https://gitea.com/gitea/tea.git
synced 2024-11-21 18:11:36 +01:00
ci: improve build process and test coverage (#547)
- Add `dir: ./dist/` to the builds section in `.goreleaser.yaml` ref: https://gitea.com/gitea/act_runner/issues/158 Signed-off-by: appleboy <appleboy.tw@gmail.com> Reviewed-on: https://gitea.com/gitea/tea/pulls/547 Reviewed-by: Jason Song <i@wolfogre.com> Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: appleboy <appleboy.tw@gmail.com> Co-committed-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
parent
abcaa58312
commit
cd6a7b35c3
@ -72,6 +72,7 @@ builds:
|
|||||||
hooks:
|
hooks:
|
||||||
post:
|
post:
|
||||||
- cmd: tar -cJf {{ .Path }}.xz {{ .Path }}
|
- cmd: tar -cJf {{ .Path }}.xz {{ .Path }}
|
||||||
|
dir: ./dist/
|
||||||
env:
|
env:
|
||||||
- XZ_OPT=-9
|
- XZ_OPT=-9
|
||||||
- cmd: sh .goreleaser.checksum.sh {{ .Path }}
|
- cmd: sh .goreleaser.checksum.sh {{ .Path }}
|
||||||
@ -119,4 +120,4 @@ gitea_urls:
|
|||||||
download: https://gitea.com
|
download: https://gitea.com
|
||||||
|
|
||||||
# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
|
# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
|
||||||
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
|
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
|
||||||
|
Loading…
Reference in New Issue
Block a user