Skip to content

Commit

Permalink
Use latest dotnet-releaser to update coverage on coveralls.io
Browse files Browse the repository at this point in the history
  • Loading branch information
xoofx committed Feb 27, 2022
1 parent e5b0ad5 commit 0e42036
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,4 @@ jobs:
- name: Build, Test, Pack, Publish
run: |
dotnet tool install -g dotnet-releaser
dotnet-releaser run --nuget-token ${{secrets.NUGET_TOKEN}} --github-token ${{secrets.GITHUB_TOKEN}} src/dotnet-releaser.toml
#- name: Coveralls Upload
# uses: coverallsapp/github-action@master
# if: github.event_name == 'push' && github.ref == 'refs/heads/main'
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
# path-to-lcov: src/${{env.PROJECT_NAME}}.Tests/coverage.info
dotnet-releaser run --nuget-token ${{secrets.NUGET_TOKEN}} --github-token ${{secrets.GITHUB_TOKEN}} src/dotnet-releaser.toml
4 changes: 1 addition & 3 deletions src/dotnet-releaser.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@
project = ["Tomlyn.sln", "Tomlyn.Signed/Tomlyn.Signed.csproj"]
[github]
user = "xoofx"
repo = "Tomlyn"
[coverage]
format = ["cobertura", "lcov"]
repo = "Tomlyn"

0 comments on commit 0e42036

Please sign in to comment.