Skip to content

Commit 45e692b

Browse files
committed
update: workflow to conform with net framework standards
1 parent 1f227ce commit 45e692b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci-build.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@ jobs:
1616
- name: Setup MSBuild
1717
uses: microsoft/setup-msbuild@v2
1818

19+
- name: Setup NuGet
20+
uses: NuGet/[email protected]
21+
1922
- name: Restore NuGet Packages for Telerik.Examples.Mvc
20-
run: |
21-
dotnet restore Telerik.Examples.Mvc/Telerik.Examples.Mvc/Telerik.Examples.Mvc.csproj --configfile NuGet.Config -r win-x64
22-
env:
23+
run: nuget restore Telerik.Examples.Mvc/Telerik.Examples.Mvc.sln -ConfigFile NuGet.Config
24+
env:
2325
TELERIK_NUGET_KEY: ${{secrets.TELERIK_NUGET_KEY}}
2426

2527
- name: Build Telerik.Examples.Mvc Project
26-
run: dotnet build Telerik.Examples.Mvc/Telerik.Examples.Mvc/Telerik.Examples.Mvc.csproj -r win-x64 --no-restore
28+
run: msbuild Telerik.Examples.Mvc/Telerik.Examples.Mvc.sln -t:rebuild -property:Configuration=Release
2729
env:
2830
TELERIK_LICENSE: ${{secrets.TELERIK_LICENSE_KEY}}

0 commit comments

Comments
 (0)