Refactor workflow to use container job structure
Some checks failed
Build and Release / Build Windows Exe (push) Failing after 3s
Some checks failed
Build and Release / Build Windows Exe (push) Failing after 3s
This commit is contained in:
@@ -9,15 +9,19 @@ 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: Build with PyInstaller (Wine)
|
- name: Install Requirements
|
||||||
uses: docker://cdrx/pyinstaller-windows:python3
|
run: python -m pip install -r requirements.txt
|
||||||
with:
|
|
||||||
# Image automatically installs requirements.txt if present
|
- name: Build with PyInstaller
|
||||||
args: "--onefile --clean --name wif2ansible run.py"
|
run: 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