From d7e05d2399a15128f97ef68c0bfca2dd6adef2fa Mon Sep 17 00:00:00 2001 From: Mohammadreza Taikandi Date: Thu, 24 Dec 2020 07:38:03 +0000 Subject: [PATCH] Fix build configuration. --- .github/workflows/dotnet.yml | 2 +- .github/workflows/publish-packages.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index f6f0b3b..de7f096 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -18,6 +18,6 @@ jobs: - name: Restore dependencies run: dotnet restore - name: Build - run: dotnet build --configuration Release --no-restore + run: dotnet build --no-restore - name: Test run: dotnet test --no-build --verbosity normal diff --git a/.github/workflows/publish-packages.yml b/.github/workflows/publish-packages.yml index 9cee6d3..20eb58c 100644 --- a/.github/workflows/publish-packages.yml +++ b/.github/workflows/publish-packages.yml @@ -25,7 +25,7 @@ jobs: - name: Build run: dotnet build --configuration Release --no-restore /p:PublicRelease=true - name: Test - run: dotnet test --no-build --verbosity normal + run: dotnet test --configuration Release --no-build --verbosity normal - name: Publish MapTo uses: brandedoutcast/publish-nuget@v2.5.5 with: @@ -34,4 +34,4 @@ jobs: NUGET_SOURCE: https://api.nuget.org TAG_COMMIT: false INCLUDE_SYMBOLS: true - VERSION_STATIC: ${{env.NBGV_Version}} + VERSION_STATIC: ${{env.NBGV_SemVer1}}