From ef7a4a25f01698e196d376d9526f0e70d56472ca Mon Sep 17 00:00:00 2001 From: Yoshiko2 Date: Fri, 1 Jan 2021 21:35:09 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 19dc416..00f9a55 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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'