Update main.yml

This commit is contained in:
Yoshiko2
2020-08-21 03:21:59 +08:00
committed by GitHub
parent ae7900cab6
commit c5e8904ee7

View File

@@ -52,7 +52,7 @@ jobs:
- name: Upload build artifact - name: Upload build artifact
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1
with: with:
name: AV_Data_Capture-CLI-${{ VERSION.VERION }}-Linux name: AV_Data_Capture-CLI-${{ jobs.Linux.VERSION.VERION }}-Linux
path: dist path: dist
@@ -100,7 +100,7 @@ jobs:
- name: Upload build artifact - name: Upload build artifact
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1
with: with:
name: AV_Data_Capture-CLI-${{ Linux.VERSION.VERION }}-Windows name: AV_Data_Capture-CLI-${{ jobs.Linux.VERSION.VERION }}-Windows
path: dist path: dist
@@ -128,10 +128,6 @@ jobs:
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 = '")"
- name: Build with pyinstaller - name: Build with pyinstaller
run: | run: |
pyinstaller \ pyinstaller \
@@ -147,5 +143,5 @@ jobs:
- name: Upload build artifact - name: Upload build artifact
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1
with: with:
name: AV_Data_Capture-CLI-${{ Linux.VERSION.VERION }}-MacOS name: AV_Data_Capture-CLI-${{ jobs.Linux.VERSION.VERION }}-MacOS
path: dist path: dist