@@ -113,17 +113,14 @@ jobs:
113113 - name : Setup .NET
114114 uses : actions/setup-dotnet@v4
115115
116- - name : Restore .NET Tools
117- run : dotnet tool restore
118-
119116 - name : Restore NuGet Packages
120- run : dotnet cake --target=Restore-NuGet-Packages
117+ run : ./build.sh --target=Restore-NuGet-Packages
121118
122119 - name : Run Build
123- run : dotnet cake --target=Build
120+ run : ./build.sh --target=Build
124121
125122 - name : Run Tests
126- run : dotnet cake --target=Test --test-project=${{ matrix.test-projects.name }}
123+ run : ./build.sh --target=Test --test-project=${{ matrix.test-projects.name }}
127124
128125 - name : Upload Test And Coverage Results
129126 uses : actions/upload-artifact@v4
@@ -188,23 +185,20 @@ jobs:
188185 - name : Setup .NET
189186 uses : actions/setup-dotnet@v4
190187
191- - name : Restore .NET Tools
192- run : dotnet tool restore
193-
194188 - name : Restore NuGet Packages
195- run : dotnet cake --target=Restore-NuGet-Packages
189+ run : ./build.sh --target=Restore-NuGet-Packages
196190
197191 - name : Run Sonar Analysis
198- run : dotnet cake --target=Sonar-Begin
192+ run : ./build.sh --target=Sonar-Begin
199193
200194 - name : Run Build
201- run : dotnet cake --target=Build
195+ run : ./build.sh --target=Build
202196
203197 - name : Upload Sonar Results
204- run : dotnet cake --target=Sonar-End
198+ run : ./build.sh --target=Sonar-End
205199
206200 - name : Publish NuGet Package
207- run : dotnet cake --target=Publish
201+ run : ./build.sh --target=Publish
208202
209203 # Cake sets the semVer environment variable
210204 - uses : release-drafter/release-drafter@v6
0 commit comments