fix(cache): cd to plugin source directory before compiling
Some checks failed
Go CI with S3 Caching / build-and-test (push) Failing after 4s
Some checks failed
Go CI with S3 Caching / build-and-test (push) Failing after 4s
This commit is contained in:
@@ -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 != '' }}
|
||||
|
||||
Reference in New Issue
Block a user