Use Nuitka standalone instead of onefile (#208)

This commit is contained in:
monosans
2024-05-08 10:02:23 +00:00
committed by GitHub
parent 6de2dc8a2c
commit ab1aa8c3fb
2 changed files with 4 additions and 8 deletions
+3 -5
View File
@@ -33,12 +33,10 @@ jobs:
cache: poetry
check-latest: true
- run: poetry install --only=main,nuitka --sync --no-root --extras=non-termux --no-interaction
- run: poetry run --no-interaction python -m nuitka --onefile --python-flag='-m' --prefer-source-code --assume-yes-for-downloads proxy_scraper_checker
- run: poetry run --no-interaction python -m nuitka --standalone --python-flag='-m' --assume-yes-for-downloads proxy_scraper_checker
- run: mv config.toml proxy_scraper_checker.dist/
- uses: actions/upload-artifact@v4
with:
name: artifact-${{ matrix.os }}
path: |
config.toml
proxy_scraper_checker.bin
proxy_scraper_checker.exe
path: proxy_scraper_checker.dist/
if-no-files-found: error