File tree 2 files changed +35
-0
lines changed 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish NuGet Packages
2
+
3
+ on :
4
+ release :
5
+ types : [published]
6
+ workflow_dispatch :
7
+
8
+ jobs :
9
+ publish :
10
+ name : Publish NuGet Packages
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Checkout Repository
14
+ uses : actions/checkout@v4
15
+
16
+ - name : Setup .NET9
17
+ uses : actions/setup-dotnet@v4
18
+ with :
19
+ dotnet-version : 9.x
20
+
21
+ - name : Restore dependencies
22
+ run : dotnet restore
23
+
24
+ - name : Build Solution
25
+ run : dotnet build --configuration Release --no-restore
26
+
27
+ - name : Test
28
+ run : dotnet test --configuration Release --no-build --verbosity normal --filter Category=Unit
29
+
30
+ - name : Push NuGet
31
+ run : dotnet nuget push "**/*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [ Unreleased]
9
9
10
+ ### Added
11
+
12
+ - Added a publish pipeline.
13
+
10
14
### Changed
11
15
12
16
- Changed YML extensions to YAML.
You can’t perform that action at this time.
0 commit comments