Workflow: Fix Windows artifact detection with wildcards and debug listing
This commit is contained in:
@@ -47,8 +47,11 @@ jobs:
|
||||
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/
|
||||
|
||||
- name: Upload Windows Artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: binary-windows
|
||||
path: dist/tamigo-cli.exe
|
||||
path: dist/*.exe
|
||||
|
||||
@@ -40,8 +40,10 @@ jobs:
|
||||
-v "${{ github.workspace }}:/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/
|
||||
- name: Rename for release
|
||||
run: mv dist/tamigo-cli.exe dist/tamigo-cli-windows.exe
|
||||
run: mv dist/*.exe dist/tamigo-cli-windows.exe
|
||||
- name: Upload to Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user