ci: improve API usage and test robustness across platforms
- Add `dir: ./dist/` to `.goreleaser.yaml` builds configuration Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
parent
0cf31b2d22
commit
0995fbfbe1
1 changed files with 2 additions and 1 deletions
|
@ -72,6 +72,7 @@ builds:
|
|||
hooks:
|
||||
post:
|
||||
- cmd: tar -cJf {{ .Path }}.xz {{ .Path }}
|
||||
dir: ./dist/
|
||||
env:
|
||||
- XZ_OPT=-9
|
||||
- cmd: sh .goreleaser.checksum.sh {{ .Path }}
|
||||
|
@ -108,4 +109,4 @@ gitea_urls:
|
|||
download: https://gitea.com
|
||||
|
||||
# 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…
Add table
Add a link
Reference in a new issue