Skip to content

Commit 0d4fd68

Browse files
authored
feat: add build pipeline (#143)
* feat: add build pipeline * docs: update workflow path
1 parent 7cfd871 commit 0d4fd68

File tree

2 files changed

+26
-4
lines changed

2 files changed

+26
-4
lines changed

.github/workflows/build.yaml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
name: Build
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Setup .NET 9
16+
uses: actions/setup-dotnet@v4
17+
with:
18+
dotnet-version: 9.0.*
19+
20+
- name: Restore dotnet
21+
run: dotnet restore
22+
23+
- name: Build dotnet
24+
run: dotnet build --no-restore

README.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77

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

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

1717
<br />
@@ -76,7 +76,6 @@ The base package inclues a Console sink with a format supporting structured logg
7676
}
7777
}
7878
}
79-
8079
```
8180

8281
## 🛰️ Addition logging destinations
@@ -121,5 +120,4 @@ public static IHostBuilder CreateHostBuilder(string[] args) =>
121120
"DiagnosticsLevel": "Error"
122121
}
123122
}
124-
125123
```

0 commit comments

Comments
 (0)