Update main.yml

This commit is contained in:
Yoshiko2
2020-08-21 03:05:44 +08:00
committed by GitHub
parent ceef83f11a
commit c3a26d9c4d

View File

@@ -10,8 +10,6 @@ on:
jobs: jobs:
Windows: Windows:
env:
VERSION: 3.7.1
runs-on: windows-latest runs-on: windows-latest
steps: steps:
@@ -54,15 +52,15 @@ jobs:
- name: Upload build artifact - name: Upload build artifact
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1
env:
VERSION: 3.7.1
with: with:
name: AV_Data_Capture-CLI-${{ VERSION }}-Windows name: AV_Data_Capture-CLI-${{ env.VERSION }}-Windows
path: dist path: dist
MacOS: MacOS:
runs-on: macos-latest runs-on: macos-latest
env:
VERSION: 3.7.1
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@@ -106,13 +104,11 @@ jobs:
env: env:
VERSION: 3.7.1 VERSION: 3.7.1
with: with:
name: AV_Data_Capture-CLI-${{ VERSION }}-MacOS name: AV_Data_Capture-CLI-${{ env.VERSION }}-MacOS
path: dist path: dist
Linux: Linux:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
VERSION: 3.7.1
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@@ -156,5 +152,5 @@ jobs:
env: env:
VERSION: 3.7.1 VERSION: 3.7.1
with: with:
name: AV_Data_Capture-CLI-${{ VERSION }}-Linux name: AV_Data_Capture-CLI-${{ env.VERSION }}-Linux
path: dist path: dist