From ea5f91321c49e7fe827f54536d9d0ad8cdfc188d Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Tue, 19 May 2026 21:29:47 -0700 Subject: [PATCH] fix(cache): cd to plugin source directory before compiling --- .gitea/actions/go-cache/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/actions/go-cache/action.yml b/.gitea/actions/go-cache/action.yml index c5a8e4a..b79c248 100644 --- a/.gitea/actions/go-cache/action.yml +++ b/.gitea/actions/go-cache/action.yml @@ -51,7 +51,8 @@ runs: shell: bash run: | echo "Installing custom Cloudflare-compatible go-cache-plugin..." - go build -o $HOME/go/bin/go-cache-plugin ${{ github.action_path }}/go-cache-plugin-src/cmd/go-cache-plugin + cd "${{ github.action_path }}/go-cache-plugin-src" + go build -o $HOME/go/bin/go-cache-plugin ./cmd/go-cache-plugin - name: Configure Go Cache if: ${{ inputs.cache == 'true' && inputs.s3-bucket != '' }}