From 2c12530d7ba233e717f1e5b5b088560f0279154e Mon Sep 17 00:00:00 2001 From: wangruiyu Date: Tue, 23 Jan 2024 13:51:09 +0800 Subject: [PATCH] =?UTF-8?q?feat(workflows):=20=E6=B5=8B=E8=AF=95=E6=B5=81?= =?UTF-8?q?=E6=B0=B4=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 2 -- .goreleaser.yml | 7 ++++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a7f04b5..82bd532 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,5 @@ jobs: distribution: goreleaser version: latest args: release --clean - files: | - config/* env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.goreleaser.yml b/.goreleaser.yml index a2526d3..c949035 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,8 @@ builds: - id: go-release - main: ./cmd \ No newline at end of file + main: ./cmd + hooks: + post: + - pwd + - ls + - echo {{ dir .Path }} \ No newline at end of file