Refactor workflow to use container job structure
Some checks failed
Build and Release / Build Windows Exe (push) Failing after 3s

This commit is contained in:
2026-02-06 15:23:22 -05:00
parent f28af4de7a
commit 2634c87dcd

View File

@@ -9,15 +9,19 @@ jobs:
build:
name: Build Windows Exe
runs-on: ubuntu-latest
container:
image: cdrx/pyinstaller-windows:python3
options: --user root
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build with PyInstaller (Wine)
uses: docker://cdrx/pyinstaller-windows:python3
with:
# Image automatically installs requirements.txt if present
args: "--onefile --clean --name wif2ansible run.py"
- name: Install Requirements
run: python -m pip install -r requirements.txt
- name: Build with PyInstaller
run: pyinstaller --onefile --clean --name wif2ansible run.py
- name: Generate Version Tag
id: version