From 89bd9d3790390cb6914dc156987ec4908e583691 Mon Sep 17 00:00:00 2001 From: BDisp Date: Mon, 2 Jun 2025 14:16:08 +0100 Subject: [PATCH] Call dotnet restore before build the AOT and self-contained projects --- .github/workflows/build-release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 06f372c6a..a95896a28 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -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