From f45f9e243a48479af48bff6007f16a4d8d4af1d0 Mon Sep 17 00:00:00 2001 From: Yoshiko2 <42309414+yoshiko2@users.noreply.github.com> Date: Mon, 7 Sep 2020 20:37:42 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 35f7078..3ca32d2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,7 +31,7 @@ jobs: - name: Set VERSION variable run: | - version=$(python -c 'import AV_Data_Capture as _; print(_.__version__)') + $version=$(cat AV_Data_Capture.py | grep "version = " | tr -d "version = '") echo "::set-env name=VERSION::$version" - name: Set CLOUDSCRAPER_PATH variable @@ -127,7 +127,7 @@ jobs: - name: Set VERSION variable run: | - version=$(python -c 'import AV_Data_Capture as _; print(_.__version__)') + $version=$(cat AV_Data_Capture.py | grep "version = " | tr -d "version = '") echo "::set-env name=VERSION::$version" - name: Set CLOUDSCRAPER_PATH variable