Update main.yml

This commit is contained in:
Yoshiko2
2020-06-30 20:35:37 +08:00
committed by GitHub
parent 2d0d58fc79
commit 2065a80496

View File

@@ -58,12 +58,26 @@ jobs:
run: |
cp config.ini dist/
- name: Upload build artifact
- name: Upload build artifact-1
uses: actions/upload-artifact@v1
with:
name: AV_Data_Capture-CLI-${{ matrix.os }}
if: matrix.os == 'macos-latest'
name: AV_Data_Capture-CLI-MacOS
path: dist
- name: Upload build artifact-2
uses: actions/upload-artifact@v1
with:
if: matrix.os == 'ubuntu-latest'
name: AV_Data_Capture-CLI-Linux
path: dist
- name: Upload build artifact-3
uses: actions/upload-artifact@v1
with:
if: matrix.os == 'windows-latest'
name: AV_Data_Capture-CLI-Windows
path: dist
run: |
mv AV_Data_Capture-CLI-macos-latest AV_Data_Capture-CLI-MacOS
mv AV_Data_Capture-CLI-ubuntu-latest AV_Data_Capture-CLI-Linux
mv AV_Data_Capture-CLI-windows-latest AV_Data_Capture-CLI-Windows