Skip to content

Commit

Permalink
Use default configuration which suits our needs
Browse files Browse the repository at this point in the history
  • Loading branch information
nvborisenko committed Feb 12, 2024
1 parent ba8aead commit 539fecb
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
- push
- workflow_dispatch

env:
CONFIGURATION: Release

jobs:

Build:
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 539fecb

Please sign in to comment.