Upload isolated release binary

This commit is contained in:
momo5502 2022-06-16 09:55:21 +02:00
parent 7ea0ef13db
commit 34467f6dc2

View File

@ -10,7 +10,7 @@ on:
types: [opened, synchronize, reopened] types: [opened, synchronize, reopened]
jobs: jobs:
build: build:
name: Build binaries name: Build
runs-on: windows-2022 runs-on: windows-2022
strategy: strategy:
matrix: matrix:
@ -44,13 +44,21 @@ jobs:
- name: Set up problem matching - name: Set up problem matching
uses: ammaraskar/msvc-problem-matcher@master uses: ammaraskar/msvc-problem-matcher@master
- name: Build ${{matrix.configuration}} binaries - name: Build ${{matrix.configuration}}
run: msbuild /m /v:minimal /p:Configuration=${{matrix.configuration}} /p:Platform=x64 build/boiii.sln run: msbuild /m /v:minimal /p:Configuration=${{matrix.configuration}} /p:Platform=x64 build/boiii.sln
- name: Upload ${{matrix.configuration}} binaries - name: Upload ${{matrix.configuration}} bundle
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: ${{matrix.configuration}} binaries name: ${{matrix.configuration}} Bundle
path: | path: |
build/bin/x64/${{matrix.configuration}}/d3d11.dll build/bin/x64/${{matrix.configuration}}/d3d11.dll
build/bin/x64/${{matrix.configuration}}/d3d11.pdb build/bin/x64/${{matrix.configuration}}/d3d11.pdb
- name: Upload ${{matrix.configuration}} binary
if: matrix.configuration == 'Release'
uses: actions/upload-artifact@v2
with:
name: ${{matrix.configuration}} Binary
path: |
build/bin/x64/${{matrix.configuration}}/d3d11.dll