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