From 46554a91e15e5832fc644cd73e1d2a2f091ef42e Mon Sep 17 00:00:00 2001 From: kraanzu Date: Thu, 25 Jan 2024 21:49:13 +0530 Subject: [PATCH] fix: app creation in workflows --- .github/workflows/app.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/app.yml b/.github/workflows/app.yml index 3cd68af7..c827892f 100644 --- a/.github/workflows/app.yml +++ b/.github/workflows/app.yml @@ -27,7 +27,7 @@ jobs: pip install pyinstaller - name: Package app with pyinstaller run: | - python -c "with open('dooit.py', 'w') as f: f.write('from dooit.__init__ import main\nmain()\n')" + python -c "with open('dooit.py', 'w') as f: f.write('from dooit.__main__ import main\nmain()\n')" pyinstaller --clean -F dooit.py --add-data=dooit/utils/default_config.py:dooit/utils/ - name: Upload a Build Artifact uses: actions/upload-artifact@v3.1.0 @@ -57,7 +57,7 @@ jobs: pip install pyinstaller - name: Package app with pyinstaller run: | - python -c "with open('dooit.py', 'w') as f: f.write('from dooit.__init__ import main\nmain()\n')" + python -c "with open('dooit.py', 'w') as f: f.write('from dooit.__main__ import main\nmain()\n')" pyinstaller --clean -F dooit.py --add-data=dooit/utils/default_config.py:dooit/utils/ - name: Upload a Build Artifact uses: actions/upload-artifact@v3.1.0 @@ -87,7 +87,7 @@ jobs: pip install pyinstaller - name: Package app with pyinstaller run: | - python -c "with open('dooit.py', 'w') as f: f.write('from dooit.__init__ import main\nmain()\n')" + python -c "with open('dooit.py', 'w') as f: f.write('from dooit.__main__ import main\nmain()\n')" pyinstaller --clean -F dooit.py --add-data=dooit/utils/default_config.py:dooit/utils/ - name: Upload a Build Artifact uses: actions/upload-artifact@v3.1.0