Update main.yml

This commit is contained in:
Yoshiko2
2020-08-21 02:57:38 +08:00
committed by GitHub
parent 043c08534e
commit 90da9f669f

View File

@@ -12,7 +12,7 @@ jobs:
Windows: Windows:
runs-on: windows-latest runs-on: windows-latest
env: env:
VERSION: ${{ VERSION }} VERSION: 3.7
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@@ -38,6 +38,7 @@ jobs:
- name : Set Version variable - name : Set Version variable
run: | run: |
echo "::set-env name=VERSION::$(cat AV_Data_Capture.py | grep "version = " | tr -d "version = '")" echo "::set-env name=VERSION::$(cat AV_Data_Capture.py | grep "version = " | tr -d "version = '")"
output: |
- name: Build with pyinstaller - name: Build with pyinstaller
run: | run: |
@@ -61,7 +62,7 @@ jobs:
MacOS: MacOS:
runs-on: macos-latest runs-on: macos-latest
env: env:
VERSION: ${{ VERSION }} VERSION: 3.7
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@@ -109,7 +110,7 @@ jobs:
Linux: Linux:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
VERSION: ${{ VERSION }} VERSION: 3.7
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2