Fix: Correct Docker build command and artifact paths for Windows
This commit is contained in:
@@ -41,13 +41,12 @@ jobs:
|
|||||||
- name: Build Windows executable via Docker
|
- name: Build Windows executable via Docker
|
||||||
run: |
|
run: |
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
-v "$(pwd):/src" \
|
-v "${{ github.workspace }}:/src" \
|
||||||
cdrx/pyinstaller-windows \
|
cdrx/pyinstaller-windows \
|
||||||
"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: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: tamigo-cli-windows
|
name: tamigo-cli-windows
|
||||||
# The Docker image puts the output in dist/windows/
|
path: dist/tamigo-cli.exe
|
||||||
path: dist/windows/tamigo-cli.exe
|
|
||||||
|
|||||||
@@ -32,11 +32,11 @@ jobs:
|
|||||||
- name: Build Windows executable via Docker
|
- name: Build Windows executable via Docker
|
||||||
run: |
|
run: |
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
-v "$(pwd):/src" \
|
-v "${{ github.workspace }}:/src" \
|
||||||
cdrx/pyinstaller-windows \
|
cdrx/pyinstaller-windows \
|
||||||
"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: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: tamigo-cli-windows
|
name: tamigo-cli-windows
|
||||||
path: dist/windows/tamigo-cli.exe
|
path: dist/tamigo-cli.exe
|
||||||
|
|||||||
Reference in New Issue
Block a user