Skip to content

Commit f3faa23

Browse files
committed
update build workflow
1 parent 24ba669 commit f3faa23

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,30 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
os: [windows-latest, ubuntu-latest, macos-15-intel, macos-latest]
14-
configuration: [Debug, Release]
14+
configuration: [Debug, Release, "Debug (Dedicated)", "Release (Dedicated)"]
1515
include:
1616
- os: ubuntu-latest
1717
configuration: Release
1818
coverage: true
1919
runs-on: ${{ matrix.os }}
2020
steps:
21-
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
21+
- uses: actions/checkout@v5
2222
with:
2323
submodules: recursive
2424

25-
- uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5.4.0
25+
- uses: actions/setup-dotnet@v5.4.0
2626
with:
2727
dotnet-version: 11.0.x
2828

2929
- name: Build
30-
run: dotnet build Source.NET.slnx -c ${{ matrix.configuration }}
30+
run: dotnet build Source.NET.slnx -c "${{ matrix.configuration }}"
3131

3232
- name: Test
33-
run: dotnet test --project Source.Common.Tests/Source.Common.Tests.csproj -c ${{ matrix.configuration }} --no-build ${{ matrix.coverage && '--coverage --coverage-output-format cobertura --coverage-output coverage.cobertura.xml --coverage-settings Source.Common.Tests/coverage.settings.xml --results-directory TestResults' || '' }}
33+
run: dotnet test --project Source.Common.Tests/Source.Common.Tests.csproj -c "${{ matrix.configuration }}" --no-build ${{ matrix.coverage && '--coverage --coverage-output-format cobertura --coverage-output coverage.cobertura.xml --coverage-settings Source.Common.Tests/coverage.settings.xml --results-directory TestResults' || '' }}
3434

3535
- name: Coverage report
3636
if: matrix.coverage
37-
uses: danielpalme/ReportGenerator-GitHub-Action@5f3701a41d14548c9b8e575a5c235230e515cbc0 # v5.6.0
37+
uses: danielpalme/ReportGenerator-GitHub-Action@v5
3838
with:
3939
reports: TestResults/coverage.cobertura.xml
4040
targetdir: CoverageReport

‎.vscode/tasks.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
"--no-restore",
2323
"${workspaceFolder}/Source.Dedicated/Source.Dedicated.csproj",
2424
"-p:WarningLevel=0",
25-
"-c",
26-
"Debug (Dedicated)"
25+
"-p:Configuration=Debug%20(Dedicated)"
2726
],
2827
"problemMatcher": "$msCompile"
2928
}

0 commit comments

Comments
 (0)