From 259c33dfda54703997c2d7e2923b71eeea4f9d7e Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Sat, 31 Jan 2026 23:45:05 +1100 Subject: [PATCH] fix(ci): use absolute path for replace directive in Docker build The Docker mounts v3 at the same absolute path, so change the replace directive to use the absolute workspace path instead of removing it. Co-Authored-By: Claude Opus 4.5 --- .github/workflows/cross-compile-test-v3.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cross-compile-test-v3.yml b/.github/workflows/cross-compile-test-v3.yml index d551b6610..f3f80f7d6 100644 --- a/.github/workflows/cross-compile-test-v3.yml +++ b/.github/workflows/cross-compile-test-v3.yml @@ -96,12 +96,12 @@ jobs: working-directory: test-cross-compile/crosstest run: task common:setup:docker - - name: Remove replace directive for Docker build + - name: Fix replace directive for Docker build working-directory: test-cross-compile/crosstest run: | - # Remove the replace directive since Docker won't have access to the local v3 path + # Change the replace directive to use absolute path that matches Docker mount go mod edit -dropreplace github.com/wailsapp/wails/v3 - go mod tidy + go mod edit -replace github.com/wailsapp/wails/v3=${{ github.workspace }}/v3 - name: Cross-compile for ${{ matrix.target_os }}/${{ matrix.target_arch }} working-directory: test-cross-compile/crosstest