Skip to content

Commit eca62c1

Browse files
committed
Update main.yml
1 parent 2dd7b94 commit eca62c1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ jobs:
2222
run: |
2323
sudo apt-get update
2424
sudo apt install python3-tk python3-dev python3-setuptools tcl
25+
26+
- name: Install tk on ubuntu
27+
if: ${{ matrix.config.os == 'windows-2019'}}
28+
run: pip install pywin32
2529

2630
- name: Checkout code
2731
uses: actions/checkout@v3
@@ -36,8 +40,7 @@ jobs:
3640
python -m pip install --upgrade pip
3741
pip install -r requirements.txt
3842
pip install pyinstaller
39-
pip install pillow
40-
pip install pywin32
43+
pip install pillow
4144
4245
- name: Build with pyinstaller for ${{ matrix.config.os }}
4346
run: pyinstaller scripts/main.py --onefile --noconsole --icon=img/icon.ico --name=PyHolofotes

0 commit comments

Comments
 (0)