fix(cache): cd to plugin source directory before compiling
Some checks failed
Go CI with S3 Caching / build-and-test (push) Failing after 4s

This commit is contained in:
2026-05-19 21:29:47 -07:00
parent 6e45f50874
commit ea5f91321c

View File

@@ -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 != '' }}