From 351fa276955c0259ef31246267901a056d786ab4 Mon Sep 17 00:00:00 2001 From: Viktor Svyatokha Date: Mon, 1 Mar 2021 13:56:52 +1000 Subject: [PATCH] Update build-and-publish-nuget.yml --- .github/workflows/build-and-publish-nuget.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-publish-nuget.yml b/.github/workflows/build-and-publish-nuget.yml index d94834e0..8355d221 100644 --- a/.github/workflows/build-and-publish-nuget.yml +++ b/.github/workflows/build-and-publish-nuget.yml @@ -15,6 +15,9 @@ jobs: - name: Restore dependencies run: dotnet restore + + - name: Build + run: dotnet build --no-restore --configuration Release - name: Setup Postgres uses: harmon758/postgresql-action@v1 @@ -34,4 +37,4 @@ jobs: - name: Push run: dotnet nuget push ./nupkgs/Hangfire.PostgreSql.ahydrax.${{ github.event.release.tag_name }}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} - \ No newline at end of file +