From d44166d9ac0e42d20914be5c0ed15e123f875368 Mon Sep 17 00:00:00 2001 From: yoshiko2 Date: Fri, 17 Dec 2021 23:29:47 +0800 Subject: [PATCH] Update workflows --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6110b1d..0988bdc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,7 +38,7 @@ jobs: if: matrix.os == 'macos-latest' || matrix.os == 'ubuntu-latest' run: | pyinstaller \ - --onefile AV_Data_Capture.py \ + --onefile Movie_Data_Capture.py \ --hidden-import ADC_function.py \ --hidden-import core.py \ --add-data "$(python -c 'import cloudscraper as _; print(_.__path__[0])' | tail -n 1):cloudscraper" \ @@ -50,7 +50,7 @@ jobs: if: matrix.os == 'windows-latest' run: | pyinstaller ` - --onefile AV_Data_Capture.py ` + --onefile Movie_Data_Capture.py ` --hidden-import ADC_function.py ` --hidden-import core.py ` --add-data "$(python -c 'import cloudscraper as _; print(_.__path__[0])' | tail -n 1);cloudscraper" ` @@ -65,15 +65,15 @@ jobs: - name: Set VERSION variable for macos/ubuntu if: matrix.os == 'macos-latest' || matrix.os == 'ubuntu-latest' run: | - echo "VERSION=$(python AV_Data_Capture.py --version)" >> $GITHUB_ENV + echo "VERSION=$(python Movie_Data_Capture.py --version)" >> $GITHUB_ENV - name: Set VERSION variable for windows if: matrix.os == 'windows-latest' run: | - echo "VERSION=$(python AV_Data_Capture.py --version)" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + echo "VERSION=$(python Movie_Data_Capture.py --version)" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - name: Upload build artifact uses: actions/upload-artifact@v1 with: - name: AV_Data_Capture-CLI-${{ env.VERSION }}-${{ runner.os }}-amd64 + name: Movie_Data_Capture-CLI-${{ env.VERSION }}-${{ runner.os }}-amd64 path: dist