From 2634c87dcd5b399313e7c311844dd37f6dfc53e8 Mon Sep 17 00:00:00 2001 From: Kris Forbes Date: Fri, 6 Feb 2026 15:23:22 -0500 Subject: [PATCH] Refactor workflow to use container job structure --- .gitea/workflows/release.yaml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 3f4ba5c..c5a91ba 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -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