Skip to content

Fix the missing Exception parameter in `IAsyncMessageErrorHandler[T… #84

Fix the missing Exception parameter in `IAsyncMessageErrorHandler[T…

Fix the missing Exception parameter in `IAsyncMessageErrorHandler[T… #84

Workflow file for this run

name: CI/CD
on:
push:
branches: [ main ]
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Install .NET
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
- name: Restore
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore /p:ContinuousIntegrationBuild=true
- name: Test
run: dotnet test --no-restore --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
- name: Upload to Codecov
uses: codecov/codecov-action@v3
with:
files: ./tests/LiteBus.Commands.UnitTests/coverage.opencover.xml, ./tests/LiteBus.Events.UnitTests/coverage.opencover.xml, ./tests/LiteBus.Queries.UnitTests/coverage.opencover.xml, ./tests/LiteBus.UnitTests/coverage.opencover.xml
flags: unittests
fail_ci_if_error: true
verbose: true
- name: Generate Nuget Packages
run: dotnet pack --configuration Release
- name: Publish Nuget Packages to Nuget.org
run: dotnet nuget push src/**/bin/Release/*.nupkg -k ${{secrets.Nuget_API_Key}} -s https://api.nuget.org/v3/index.json --skip-duplicate
- name: Publish Nuget Packages to GitHub Packages
run: dotnet nuget push src/**/bin/Release/*.nupkg -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/litenova/index.json --skip-duplicate