From 539fecb883e078baf4c3304069e6b6e497b478c5 Mon Sep 17 00:00:00 2001 From: Nikolay Borisenko Date: Mon, 12 Feb 2024 22:33:03 +0300 Subject: [PATCH] Use default configuration which suits our needs --- .github/workflows/ci.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c957b00d..82b9383a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,9 +4,6 @@ on: - push - workflow_dispatch -env: - CONFIGURATION: Release - jobs: Build: @@ -22,10 +19,10 @@ jobs: run: dotnet tool install -g codecov.tool - name: Build - run: dotnet build -c ${{ env.CONFIGURATION }} + run: dotnet build - name: Pack - run: dotnet pack -c ${{ env.CONFIGURATION }} --property:PackageOutputPath=../../pkgs + run: dotnet pack --property:PackageOutputPath=../../pkgs - name: Upload Artifacts uses: actions/upload-artifact@v3 @@ -36,7 +33,7 @@ jobs: ./pkgs/*.snupkg - name: Test - run: dotnet test -c ${{ env.CONFIGURATION }} --no-build /p:CollectCoverage=true /p:CoverletOutputFormat=OpenCover /p:CoverletOutput=./Coverage.xml + run: dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=OpenCover /p:CoverletOutput=./Coverage.xml - name: Publish Coverage uses: codecov/codecov-action@v3