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
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo "Installing custom Cloudflare-compatible go-cache-plugin..."
|
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
|
- name: Configure Go Cache
|
||||||
if: ${{ inputs.cache == 'true' && inputs.s3-bucket != '' }}
|
if: ${{ inputs.cache == 'true' && inputs.s3-bucket != '' }}
|
||||||
|
|||||||
Reference in New Issue
Block a user