Skip to content

Commit

Permalink
ci: unable to use on Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
Pandaft committed Apr 2, 2023
1 parent 455da36 commit aa731d4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,13 @@ jobs:

- name: Install dependencies
run: |
pip3 install -r requirements.txt
pip3 install -I -r requirements.txt
pip3 install pyinstaller
- name: Install Tkinter for Ubuntu
if: ${{ matrix.os == 'ubuntu-20.04' }}
run: sudo apt-get install python3-tk

- name: Build
run: python build.py

Expand Down
1 change: 1 addition & 0 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

os.system(
f"pyinstaller "
f"--hidden-import PIL._tkinter_finder "
f"--add-data {onnx_path}{separator}ddddocr "
f"-n ESurfingPy-CLI "
f"-F "
Expand Down
4 changes: 2 additions & 2 deletions esurfingpy/__version__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = "0.6.0"
__date__ = "2023/03/22"
__version__ = "0.6.2"
__date__ = "2023/04/02"
__url__ = "https://github.com/Pandaft/ESurfingPy-CLI/"

0 comments on commit aa731d4

Please sign in to comment.