Update build_master workflow.

This commit is contained in:
Jack 2020-06-21 14:30:26 +08:00
parent ff2349b8ba
commit f9266246b7

View file

@ -42,6 +42,7 @@ jobs:
- dist: win_x86_64 - dist: win_x86_64
os: windows-latest os: windows-latest
platform: x64 platform: x64
configuration: Release
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Add msbuild to PATH - name: Add msbuild to PATH
@ -49,9 +50,9 @@ jobs:
- name: Clone submodules - name: Clone submodules
run: git submodule init && git submodule update run: git submodule init && git submodule update
- name: Compile ${{ matrix.prog }} - name: Compile ${{ matrix.prog }}
run: msbuild .\build\visualstudio\${{ matrix.prog }}.sln /p:configuration=release /p:platform=${{ matrix.platform }} run: msbuild .\build\visualstudio\${{ matrix.prog }}.sln /p:configuration=${{ matrix.configuration }} /p:platform=${{ matrix.platform }}
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:
name: ${{ matrix.prog }}-${{ matrix.dist }} name: ${{ matrix.prog }}-${{ matrix.dist }}
path: .\build\visualstudio\x64\Release\${{ matrix.prog }}.exe path: .\build\visualstudio\${{ matrix.platform }}\${{ matrix.configuration }}\${{ matrix.prog }}.exe