From c5e8904ee706800c8cfcdf903a3b6f63a137648d Mon Sep 17 00:00:00 2001 From: Yoshiko2 <42309414+yoshiko2@users.noreply.github.com> Date: Fri, 21 Aug 2020 03:21:59 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c1236c5..037f141 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -52,7 +52,7 @@ jobs: - name: Upload build artifact uses: actions/upload-artifact@v1 with: - name: AV_Data_Capture-CLI-${{ VERSION.VERION }}-Linux + name: AV_Data_Capture-CLI-${{ jobs.Linux.VERSION.VERION }}-Linux path: dist @@ -100,7 +100,7 @@ jobs: - name: Upload build artifact uses: actions/upload-artifact@v1 with: - name: AV_Data_Capture-CLI-${{ Linux.VERSION.VERION }}-Windows + name: AV_Data_Capture-CLI-${{ jobs.Linux.VERSION.VERION }}-Windows path: dist @@ -127,10 +127,6 @@ 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 run: | @@ -147,5 +143,5 @@ jobs: - name: Upload build artifact uses: actions/upload-artifact@v1 with: - name: AV_Data_Capture-CLI-${{ Linux.VERSION.VERION }}-MacOS + name: AV_Data_Capture-CLI-${{ jobs.Linux.VERSION.VERION }}-MacOS path: dist