Workflow: Use recursive glob to capture Windows artifact
All checks were successful
Build Tamigo CLI / Build Linux Binary (push) Successful in 51s
Build Tamigo CLI / Build Windows Binary (push) Successful in 5s

This commit is contained in:
Daniel Dybing
2026-03-11 14:58:54 +01:00
parent f30f06ea13
commit 83edd9c2da

View File

@@ -36,19 +36,17 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Build Windows executable via Docker - name: Build Windows executable via Docker
run: | 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 \ docker run --rm \
-v "${{ github.workspace }}:/src" \ -v "${{ github.workspace }}:/src" \
-w /src \
cdrx/pyinstaller-windows \ cdrx/pyinstaller-windows \
sh -c "pip install -r requirements.txt && pyinstaller --onefile --name tamigo-cli tamigo.py" sh -c "pip install -r requirements.txt && pyinstaller --onefile --name tamigo-cli tamigo.py"
- name: Debug - List output files - name: Debug - Find all .exe files
run: ls -R dist/ || echo "Dist folder not found" run: find dist/ -name "*.exe" || echo "No exe files found"
- name: Upload Windows Artifact - name: Upload Windows Artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: binary-windows name: binary-windows
path: dist/windows/*.exe # Search recursively for the exe
path: dist/**/*.exe