From 49d2cb0cb53ebe6f67284b2fd27e11fe81884d85 Mon Sep 17 00:00:00 2001 From: appleboy Date: Fri, 28 Apr 2023 23:46:46 +0800 Subject: [PATCH] ci: improve API usage and test robustness across platforms (#159) - Add `dir: ./dist/` to `.goreleaser.yaml` builds configuration fix https://gitea.com/gitea/act_runner/issues/158 Signed-off-by: appleboy Reviewed-on: https://gitea.com/gitea/act_runner/pulls/159 Reviewed-by: Jason Song Co-authored-by: appleboy Co-committed-by: appleboy --- .goreleaser.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 57f6a29..5aade0e 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -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 \ No newline at end of file +# vim: set ts=2 sw=2 tw=0 fo=cnqoj