From 2b2632a47857404d8066bf25eef02c15d2c0c5c5 Mon Sep 17 00:00:00 2001 From: 68cdrBxM8YdoJ <68cdrBxM8YdoJ@gmail.com> Date: Wed, 11 Nov 2020 17:14:55 +0900 Subject: [PATCH] Fix actions error --- .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 8373b21..19dc416 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -40,7 +40,8 @@ jobs: pyinstaller \ --onefile AV_Data_Capture.py \ --hidden-import ADC_function.py \ - --hidden-import core.py + --hidden-import core.py \ + --add-data "$(python -c 'import cloudscraper as _; print(_.__path__[0])' | tail -n 1):cloudscraper" - name: Build with PyInstaller for windows if: matrix.os == 'windows-latest' @@ -49,7 +50,7 @@ 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])');cloudscraper" + --add-data "$(python -c 'import cloudscraper as _; print(_.__path__[0])' | tail -n 1);cloudscraper" - name: Copy config.ini run: |