From ad7efbd90fc28fcdc388693b7956350a8e46c3da Mon Sep 17 00:00:00 2001 From: Yoshiko2 <42309414+yoshiko2@users.noreply.github.com> Date: Sat, 15 Aug 2020 20:02:54 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 43108a1..2467284 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,6 +32,9 @@ jobs: - name: Set CLOUDSCRAPER_PATH variable run: | 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 = '")" - name: Build with pyinstaller @@ -76,6 +79,9 @@ jobs: - name: Set CLOUDSCRAPER_PATH variable run: | 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 = '")" - name: Build with pyinstaller @@ -119,6 +125,9 @@ jobs: - name: Set CLOUDSCRAPER_PATH variable run: | 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 = '")" - name: Build with pyinstaller