From 7fdb98970d4c3c094199ed494a9dba464aed5c3f Mon Sep 17 00:00:00 2001 From: mereith Date: Sat, 21 Dec 2024 15:10:50 +0800 Subject: [PATCH] fix build error --- .github/workflows/release.yml | 2 +- .goreleaser.yml | 3 --- Makefile | 3 +-- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 06b6fe8..31f00f5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,7 +33,7 @@ jobs: uses: goreleaser/goreleaser-action@v2 with: distribution: goreleaser - version: v1.18.2 + version: v1.19 args: release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 392d7cf..0d4a465 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -4,9 +4,6 @@ before: hooks: # You may remove this if you don't use go modules. - go mod tidy - # 添加以下配置来允许脏状态 -git: - dirty: true # 允许在"脏"状态下构建 builds: - env: - CGO_ENABLED=0 diff --git a/Makefile b/Makefile index d4b3ff7..f0495aa 100644 --- a/Makefile +++ b/Makefile @@ -16,8 +16,7 @@ run-api: # Run the application run: @go run . & - @pnpm install --prefix ./ui/website - @pnpm run start --prefix ./ui/website + @cd ./ui && pnpm run start # Clean the binary clean: