diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index f063465..16668e7 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -32,23 +32,19 @@ jobs: path: dist/vhs-decode-gui-linux build-windows: - runs-on: windows-latest + runs-on: ubuntu-latest + container: tobix/pywine:3.11 steps: - name: Check out repository code uses: actions/checkout@v3 - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.11' - - name: Install Dependencies run: | - pip install -r requirements.txt + wine python -m pip install -r requirements.txt - name: Build with PyInstaller run: | - pyinstaller --onefile --windowed --name vhs-decode-gui-windows.exe vhs_decode_gui.py + wine pyinstaller --onefile --windowed --name vhs-decode-gui-windows.exe vhs_decode_gui.py - name: Upload Windows Artifact uses: actions/upload-artifact@v3