Skip to content

Commit e54d309

Browse files
committed
Update main.yml to set up .NET Core and run Cake build, removing obsolete restore and build steps
1 parent 752b583 commit e54d309

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.github/workflows/main.yml

+15-4
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,19 @@ jobs:
1818
- name: Setup NuGet
1919
uses: NuGet/setup-nuget@v2
2020

21-
- name: Restore NuGet Packages
22-
run: nuget restore ./source/FreeGameNotifications.sln
21+
# - name: Restore NuGet Packages
22+
# run: nuget restore ./source/FreeGameNotifications.sln
2323

24-
- name: Build
25-
run: msbuild ./source/FreeGameNotifications.sln /p:Configuration=Release /p:Platform="Any CPU"
24+
# - name: Build
25+
# run: msbuild ./source/FreeGameNotifications.sln /p:Configuration=Release /p:Platform="Any CPU"
26+
27+
- name: Setup .NET Core
28+
uses: actions/setup-dotnet@v4
29+
with:
30+
dotnet-version: "8.0.x"
31+
32+
- name: Run Cake build
33+
run: dotnet cake --target=Default
34+
35+
- name: Install Cake.Tool
36+
run: dotnet tool install --global Cake.Tool

0 commit comments

Comments
 (0)