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