Workflow: Use recursive glob to capture Windows artifact
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user