Skip to content

Commit 4369f73

Browse files
committed
Update ci.yml
1 parent 736549d commit 4369f73

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,14 @@ jobs:
1919
- name: Checkout code
2020
uses: actions/checkout@v4
2121

22-
- name: Setup .NET
23-
uses: actions/setup-dotnet@v4
24-
with:
25-
dotnet-version: "4.8.x"
26-
2722
- name: Setup MSBuild
2823
uses: microsoft/setup-msbuild@v2
2924

30-
- name: Restore dependencies
31-
run: dotnet restore
25+
- name: Restore NuGet packages
26+
run: nuget restore CeMCP.sln
3227

3328
- name: Build ${{ matrix.configuration }}
34-
run: dotnet build --configuration ${{ matrix.configuration }} --no-restore
29+
run: msbuild CeMCP.sln /p:Configuration=${{ matrix.configuration }} /p:Platform="Any CPU"
3530

3631
- name: Upload build artifacts (${{ matrix.configuration }})
3732
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)