mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
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 <noreply@anthropic.com>
This commit is contained in:
parent
513669bf13
commit
259c33dfda
1 changed files with 3 additions and 3 deletions
6
.github/workflows/cross-compile-test-v3.yml
vendored
6
.github/workflows/cross-compile-test-v3.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue