Skip to content

Commit

Permalink
change pyinstall entry
Browse files Browse the repository at this point in the history
  • Loading branch information
datawhores committed Nov 23, 2023
1 parent cd3c605 commit 2703f2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/commit_bundler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
/root/.local/bin/poetry install
/root/.local/bin/poetry add pyinstaller==5.13.0
echo "install run pyinstaller"
/root/.local/bin/poetry run pyinstaller .venv/bin/ofscraper --collect-submodules application --name "ofscraper_linux_${{ steps.commit.outputs.short}}" --onefile
/root/.local/bin/poetry run pyinstaller /home/runner/work/OF-Scraper/OF-Scraper/ofscraper/__main__.py --collect-submodules application --name "ofscraper_linux_${{ steps.commit.outputs.short}}" --onefile
- name: upload one file
uses: actions/upload-artifact@v3
Expand All @@ -91,7 +91,7 @@ jobs:
/root/.local/bin/poetry install --with build
/root/.local/bin/poetry install
/root/.local/bin/poetry add pyinstaller==5.13.0
/root/.local/bin/poetry run pyinstaller .venv/bin/ofscraper --collect-submodules application --name "ofscraper_linux_${{ steps.commit.outputs.short}}" --onefile
/root/.local/bin/poetry run pyinstaller /home/runner/work/OF-Scraper/OF-Scraper/ofscraper/__main__.py --collect-submodules application --name "ofscraper_linux_${{ steps.commit.outputs.short}}" --onefile
zip -r "dist/ofscraper_linux_${{steps.commit.outputs.short}}.zip" "dist/ofscraper_linux_${{steps.commit.outputs.short}}"
- name: upload one file
uses: actions/upload-artifact@v3
Expand Down
1 change: 1 addition & 0 deletions ofscraper/utils/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ def create_parser(input=None):

def getargs(input=None):
global args
import multiprocessing
print(multiprocessing.parent_process())
if args and input==None:
return args
Expand Down

0 comments on commit 2703f2f

Please sign in to comment.