Update main.yml

This commit is contained in:
Yoshiko2
2021-01-01 21:35:09 +08:00
committed by GitHub
parent 050970dc04
commit ef7a4a25f0

View File

@@ -33,7 +33,7 @@ jobs:
- name: Test number_perser.get_number
run: |
python number_parser.py -v
- name: Build with PyInstaller for macos/ubuntu
if: matrix.os == 'macos-latest' || matrix.os == 'ubuntu-latest'
run: |
@@ -41,7 +41,8 @@ jobs:
--onefile AV_Data_Capture.py \
--hidden-import ADC_function.py \
--hidden-import core.py \
--add-data "$(python -c 'import cloudscraper as _; print(_.__path__[0])' | tail -n 1):cloudscraper"
--add-data "$(python -c 'import cloudscraper as _; print(_.__path__[0])' | tail -n 1):cloudscraper" \
--add-data "Img:Img"
- name: Build with PyInstaller for windows
if: matrix.os == 'windows-latest'