From cf583590f95f2adaebb3d84e5eeed6b7eb1a782a Mon Sep 17 00:00:00 2001 From: wangruiyu Date: Tue, 23 Jan 2024 12:59:00 +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 | 9 +++++++-- {cmd/config => config}/application.yaml | 0 {cmd/config => config}/banner.txt | 0 3 files changed, 7 insertions(+), 2 deletions(-) rename {cmd/config => config}/application.yaml (100%) rename {cmd/config => config}/banner.txt (100%) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cbd9c00..2a7ea08 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,9 +21,14 @@ jobs: - name: Run GoReleaser uses: goreleaser/goreleaser-action@v5 with: - # either 'goreleaser' (default) or 'goreleaser-pro' distribution: goreleaser version: latest args: release --clean + workdir: myfolder env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Upload assets + run: | + pwd | + ls -R myfolder diff --git a/cmd/config/application.yaml b/config/application.yaml similarity index 100% rename from cmd/config/application.yaml rename to config/application.yaml diff --git a/cmd/config/banner.txt b/config/banner.txt similarity index 100% rename from cmd/config/banner.txt rename to config/banner.txt