Files
tamigo-cli/GEMINI.md
Daniel Dybing 5c818a09e0
All checks were successful
Build Tamigo CLI / Build Linux Binary (push) Successful in 49s
Build Tamigo CLI / Build Windows Binary (push) Successful in 41s
Workflow: Synchronize release workflow with robust Windows build logic
2026-03-11 21:00:19 +01:00

744 B

Windows Cross-Compilation Fix (Gitea Actions)

  • Problem: The Windows build was failing due to OSError: [WinError 123] Invalid name: '/tmp\\*' and volume mount issues in the Gitea CI environment.
  • Solution:
    1. Used the cdrx/pyinstaller-windows Docker image but bypassed its default entrypoint.
    2. Implemented a "Manual Copy" strategy using docker cp to move files in and out of the container, avoiding unreliable volume mounts.
    3. Forced PyInstaller to use Windows-compatible paths by explicitly setting TMP and TEMP environment variables to C:\\temp and specifying --workpath and --distpath during the build command.
    4. Downgraded upload-artifact to v3 for compatibility with Gitea's artifact storage.