mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
fix(ci): remove replace directive before Docker cross-compile
The project created by wails3 init has a replace directive pointing to the local v3 source. This doesn't work inside Docker containers. Remove it before running the cross-compile tasks. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
4af09b43a8
commit
513669bf13
1 changed files with 7 additions and 0 deletions
7
.github/workflows/cross-compile-test-v3.yml
vendored
7
.github/workflows/cross-compile-test-v3.yml
vendored
|
|
@ -96,6 +96,13 @@ jobs:
|
|||
working-directory: test-cross-compile/crosstest
|
||||
run: task common:setup:docker
|
||||
|
||||
- name: Remove 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
|
||||
go mod edit -dropreplace github.com/wailsapp/wails/v3
|
||||
go mod tidy
|
||||
|
||||
- name: Cross-compile for ${{ matrix.target_os }}/${{ matrix.target_arch }}
|
||||
working-directory: test-cross-compile/crosstest
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue