Call dotnet restore before build the AOT and self-contained projects

This commit is contained in:
BDisp
2025-06-02 14:16:08 +01:00
parent ffb0a54d2d
commit 89bd9d3790

View File

@@ -35,13 +35,13 @@ jobs:
dotnet restore ./Examples/NativeAot/NativeAot.csproj -f
dotnet restore ./Examples/SelfContained/SelfContained.csproj -f
- name: Restore Solution Packages
run: dotnet restore
- name: Build Release AOT and Self-Contained
run: |
dotnet build ./Examples/NativeAot/NativeAot.csproj --configuration Release
dotnet build ./Examples/SelfContained/SelfContained.csproj --configuration Release
- name: Restore Solution Packages
run: dotnet restore
- name: Build Release Solution without restore
run: dotnet build --configuration Release --no-restore