From eca62c11bde13c56f6837e2cd2671facbf06eb2a Mon Sep 17 00:00:00 2001 From: Veras-D Date: Sun, 31 Dec 2023 00:05:42 -0300 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 84ae235..5c1d364 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,6 +22,10 @@ jobs: run: | sudo apt-get update sudo apt install python3-tk python3-dev python3-setuptools tcl + + - name: Install tk on ubuntu + if: ${{ matrix.config.os == 'windows-2019'}} + run: pip install pywin32 - name: Checkout code uses: actions/checkout@v3 @@ -36,8 +40,7 @@ jobs: python -m pip install --upgrade pip pip install -r requirements.txt pip install pyinstaller - pip install pillow - pip install pywin32 + pip install pillow - name: Build with pyinstaller for ${{ matrix.config.os }} run: pyinstaller scripts/main.py --onefile --noconsole --icon=img/icon.ico --name=PyHolofotes