Skip to content

Commit

Permalink
UPDATE: github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
leegeunhyeok committed Feb 4, 2020
1 parent ebea20c commit efcd9f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pyinstaller-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: Set up Python 3.8
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz
- name: PyInstaller build
run: |
pyinstaller -w -F -i=icon.ico --add-data icon.ico:. --add-data logo.png:. --add-data loading.gif:. --name CyBot --clean bot-gui.py
pyinstaller -w -i=icon.ico --add-data icon.ico:. --add-data logo.png:. --add-data loading.gif:. --name CyBot --clean bot-gui.py
- name: Get build files size
run: ls -alshS dist/ | awk '{print $10 " => " $6}'

0 comments on commit efcd9f5

Please sign in to comment.