Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add build pipeline #143

Merged
merged 2 commits into from
Feb 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build

on:
push:
branches:
- main

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup .NET 9
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.*

- name: Restore dotnet
run: dotnet restore

- name: Build dotnet
run: dotnet build --no-restore
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@

<p align="center">
<a href="https://github.com/Intility/Intility.Logging/actions">
<img alt="compile workflow" src="https://github.com/Intility/Intility.Logging/actions/workflows/compile.yaml/badge.svg" style="max-width:100%;">
<img alt="Release workflow" src="https://github.com/Intility/Intility.Logging/actions/workflows/build-and-release.yaml/badge.svg" style="max-width:100%;">
</a>

<a href="https://github.com/Intility/Intility.Logging/actions">
<img alt="publish workflow" src="https://github.com/Intility/Intility.Logging/actions/workflows/publish.yaml/badge.svg" style="max-width:100%;">
<img alt="Build workflow" src="https://github.com/Intility/Intility.Logging/actions/workflows/build.yaml/badge.svg" style="max-width:100%;">
</a>

<br />
Expand Down Expand Up @@ -76,7 +76,6 @@ The base package inclues a Console sink with a format supporting structured logg
}
}
}

```

## 🛰️ Addition logging destinations
Expand Down Expand Up @@ -121,5 +120,4 @@ public static IHostBuilder CreateHostBuilder(string[] args) =>
"DiagnosticsLevel": "Error"
}
}

```