From 83edd9c2da514f8a19ca27b9bc4c207c6425da9f Mon Sep 17 00:00:00 2001 From: Daniel Dybing Date: Wed, 11 Mar 2026 14:58:54 +0100 Subject: [PATCH] Workflow: Use recursive glob to capture Windows artifact --- .gitea/workflows/build.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 4634bdc..225eb2d 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -36,19 +36,17 @@ jobs: - uses: actions/checkout@v4 - name: Build Windows executable via Docker run: | - # Use a very stable Wine+Python image - # We don't name the container to avoid conflicts, just use the image directly docker run --rm \ -v "${{ github.workspace }}:/src" \ - -w /src \ cdrx/pyinstaller-windows \ sh -c "pip install -r requirements.txt && pyinstaller --onefile --name tamigo-cli tamigo.py" - - name: Debug - List output files - run: ls -R dist/ || echo "Dist folder not found" + - name: Debug - Find all .exe files + run: find dist/ -name "*.exe" || echo "No exe files found" - name: Upload Windows Artifact uses: actions/upload-artifact@v3 with: name: binary-windows - path: dist/windows/*.exe + # Search recursively for the exe + path: dist/**/*.exe