From 05141989d96335636959dde053616e6c7ddd8030 Mon Sep 17 00:00:00 2001 From: Jon Kjennbakken Date: Thu, 10 Oct 2024 13:59:14 +0200 Subject: [PATCH] Fix release pipeline 2 --- .github/workflows/release.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fcc38f7..8a2f799 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,15 +23,7 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: ${{ matrix.dotnet-version }} - - name: Restore dependencies - run: dotnet restore "./src/Vipps.net/Vipps.net.csproj" - # Create Nuget package. - - name: Build project - run: | - dotnet build "./src/Vipps.net.Models.Checkout" --configuration Release - dotnet build "./src/Vipps.net.Models.Epayment" --configuration Release - dotnet build "./src/Vipps.net" --configuration Release - + - name: Install Paket run: dotnet tool install Paket --tool-path .paket @@ -39,6 +31,12 @@ jobs: run: | .paket/paket install working-directory: ./src + + - name: Build project + run: | + dotnet build "./src/Vipps.net.Models.Checkout" --configuration Release + dotnet build "./src/Vipps.net.Models.Epayment" --configuration Release + dotnet build "./src/Vipps.net" --configuration Release - name: Pack NuGet Package with Paket run: |