Skip to content

Commit

Permalink
Add Release and Debug matrix for windows game build
Browse files Browse the repository at this point in the history
  • Loading branch information
Foereaper authored Jul 29, 2024
1 parent 9080958 commit 9355a45
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/win-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ jobs:

strategy:
fail-fast: false

matrix:
build-type: [Release, Debug]

steps:
- uses: actions/checkout@v4
with:
Expand All @@ -26,12 +28,12 @@ jobs:
- name: Build
run: |
msbuild /m /p:Configuration=Debug Build/Game.sln
msbuild /m /p:Configuration=${{ matrix.build-type }} Build/Game.sln
- name: Upload Game App artifact
uses: actions/upload-artifact@v4
with:
name: Game-App
name: Game-App_${{ matrix.build-type }}
path: |
Build/Bin/Game/Debug/Game-App.exe
Build/Bin/Game/Debug/dxcompiler.dll
Build/Bin/Game/${{ matrix.build-type }}/Game-App.exe
Build/Bin/Game/${{ matrix.build-type }}/dxcompiler.dll

0 comments on commit 9355a45

Please sign in to comment.