image path patch #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: [main] | |
name: Upload Release Asset | |
jobs: | |
build_windows: | |
name: Build Windows | |
runs-on: windows-latest | |
steps: | |
- name: Set up Python 3.x | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Build project | |
run: | | |
python -m pip install --upgrade pip | |
pip install pyinstaller | |
pip3 install customtkinter==5.2 | |
pyinstaller main.py --onedir --noconsole --add-data "customtkinter;customtkinter" | |
- name: Upload artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: windows | |
path: ./dist/main/ |