Use manual docker run with entrypoint override
Some checks failed
Build and Release / Build Windows Exe (push) Failing after 6s
Some checks failed
Build and Release / Build Windows Exe (push) Failing after 6s
This commit is contained in:
@@ -9,19 +9,14 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
name: Build Windows Exe
|
name: Build Windows Exe
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
|
||||||
image: cdrx/pyinstaller-windows:python3
|
|
||||||
options: --user root
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install Requirements
|
|
||||||
run: python -m pip install -r requirements.txt
|
|
||||||
|
|
||||||
- name: Build with PyInstaller
|
- name: Build with PyInstaller
|
||||||
run: pyinstaller --onefile --clean --name wif2ansible run.py
|
run: |
|
||||||
|
docker run --rm -v "${{ github.workspace }}:/src/" --entrypoint /bin/sh cdrx/pyinstaller-windows:python3 -c "python -m pip install -r requirements.txt && pyinstaller --onefile --clean --name wif2ansible run.py"
|
||||||
|
|
||||||
- name: Generate Version Tag
|
- name: Generate Version Tag
|
||||||
id: version
|
id: version
|
||||||
|
|||||||
Reference in New Issue
Block a user