Fix actions error
This commit is contained in:
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
@@ -40,7 +40,8 @@ jobs:
|
|||||||
pyinstaller \
|
pyinstaller \
|
||||||
--onefile AV_Data_Capture.py \
|
--onefile AV_Data_Capture.py \
|
||||||
--hidden-import ADC_function.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
|
- name: Build with PyInstaller for windows
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
@@ -49,7 +50,7 @@ jobs:
|
|||||||
--onefile AV_Data_Capture.py `
|
--onefile AV_Data_Capture.py `
|
||||||
--hidden-import ADC_function.py `
|
--hidden-import ADC_function.py `
|
||||||
--hidden-import core.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
|
- name: Copy config.ini
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user