Skip to content

Commit

Permalink
GitHub Actions: upload artifacts
Browse files Browse the repository at this point in the history
Also use lower case in matrix names
  • Loading branch information
Xottab-DUTY committed Oct 2, 2024
1 parent b80fcca commit c4bd42f
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ on:

jobs:
windows:
name: ${{ matrix.Configuration }} ${{ matrix.Platform }}
name: ${{ matrix.configuration }} ${{ matrix.platform }}
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
Configuration: [.NET Debug, .NET Release, Debug, Release, Unicode Debug, Unicode Release]
Platform: [x64, Win32]
configuration: [.NET Debug, .NET Release, Debug, Release, Unicode Debug, Unicode Release]
platform: [x64, Win32]
steps:
- uses: actions/checkout@main
- uses: microsoft/setup-msbuild@main
Expand All @@ -22,4 +22,13 @@ jobs:
run: nuget restore source/BugTrap.sln

- name: Build
run: msbuild /m /p:Configuration="${{ matrix.Configuration }}" /p:Platform="${{ matrix.Platform }}" source/BugTrap.sln
run: msbuild /m /p:Configuration="${{ matrix.configuration }}" /p:Platform="${{ matrix.platform }}" source/BugTrap.sln

- name: Upload artifacts
uses: actions/upload-artifact@main
with:
name: BugTrap ${{ matrix.configuration }} ${{ matrix.platform }} (github-${{ github.run_number }}).7z
path: |
bin/*.dll
bin/*.lib
bin/*.pdb

0 comments on commit c4bd42f

Please sign in to comment.