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