Introduce ProcessOutboxJobBase #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a .NET project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | |
name: .NET | |
on: | |
workflow_dispatch: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
env: | |
DOTNET_VERSION: 8.x | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: ${{ env.DOTNET_VERSION }} | |
- name: Restore dependencies | |
working-directory: ./src/Evently | |
run: dotnet restore Evently.sln | |
- name: Build | |
working-directory: ./src/Evently | |
run: dotnet build Evently.sln --configuration Release --no-restore | |
- name: Test | |
working-directory: ./src/Evently | |
run: dotnet test Evently.sln --configuration Release --no-restore --no-build | |
- name: Publish | |
working-directory: ./src/Evently | |
run: dotnet publish Evently.sln --configuration Release --no-restore --no-build |