From d4fd9c04063508e35b964addab903907eb727242 Mon Sep 17 00:00:00 2001 From: Keelah Date: Sun, 13 Oct 2024 12:17:50 +0200 Subject: [PATCH] Fix to restore --- .github/workflows/codeql-analysis.yml | 3 ++- .github/workflows/release.yml | 12 ++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 06d255d..c2b1d31 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -43,7 +43,8 @@ jobs: with: dotnet-version: ${{vars.DOTNET_VERSION}} - - run: dotnet restore + - name: Restore Solution + run: dotnet restore ./FASTER.sln - name: Build Solution run: dotnet build ./FASTER.sln --configuration Debug diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 77c00bc..54e21d3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,14 +49,14 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: ${{vars.DOTNET_VERSION}} - - # Execute all unit tests in the solution - - name: Execute unit tests - run: dotnet test - - # Restore the application to populate the obj folder with RuntimeIdentifiers + + # Restore the application to populate the obj folder with RuntimeIdentifiers - name: Restore the application run: dotnet restore + + # Execute all unit tests in the solution + - name: Execute unit tests + run: dotnet test # Build - name: Build the application