Update main.yml

This commit is contained in:
Yoshiko2
2020-08-15 20:02:54 +08:00
committed by GitHub
parent bfa4f010e5
commit ad7efbd90f

View File

@@ -32,6 +32,9 @@ jobs:
- name: Set CLOUDSCRAPER_PATH variable - name: Set CLOUDSCRAPER_PATH variable
run: | run: |
echo "::set-env name=CLOUDSCRAPER_PATH::$(python -c 'import cloudscraper as _; print(_.__path__[0])' | tail -n 1)" echo "::set-env name=CLOUDSCRAPER_PATH::$(python -c 'import cloudscraper as _; print(_.__path__[0])' | tail -n 1)"
- name : Set Version variable
run: |
echo "::set-env name=VERSION::$(cat AV_Data_Capture.py | grep "version = " | tr -d "version = '")" echo "::set-env name=VERSION::$(cat AV_Data_Capture.py | grep "version = " | tr -d "version = '")"
- name: Build with pyinstaller - name: Build with pyinstaller
@@ -76,6 +79,9 @@ jobs:
- name: Set CLOUDSCRAPER_PATH variable - name: Set CLOUDSCRAPER_PATH variable
run: | run: |
echo "::set-env name=CLOUDSCRAPER_PATH::$(python -c 'import cloudscraper as _; print(_.__path__[0])' | tail -n 1)" echo "::set-env name=CLOUDSCRAPER_PATH::$(python -c 'import cloudscraper as _; print(_.__path__[0])' | tail -n 1)"
- name : Set Version variable
run: |
echo "::set-env name=VERSION::$(cat AV_Data_Capture.py | grep "version = " | tr -d "version = '")" echo "::set-env name=VERSION::$(cat AV_Data_Capture.py | grep "version = " | tr -d "version = '")"
- name: Build with pyinstaller - name: Build with pyinstaller
@@ -119,6 +125,9 @@ jobs:
- name: Set CLOUDSCRAPER_PATH variable - name: Set CLOUDSCRAPER_PATH variable
run: | run: |
echo "::set-env name=CLOUDSCRAPER_PATH::$(python -c 'import cloudscraper as _; print(_.__path__[0])' | tail -n 1)" echo "::set-env name=CLOUDSCRAPER_PATH::$(python -c 'import cloudscraper as _; print(_.__path__[0])' | tail -n 1)"
- name : Set Version variable
run: |
echo "::set-env name=VERSION::$(cat AV_Data_Capture.py | grep "version = " | tr -d "version = '")" echo "::set-env name=VERSION::$(cat AV_Data_Capture.py | grep "version = " | tr -d "version = '")"
- name: Build with pyinstaller - name: Build with pyinstaller