We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4247a1c commit 5b30d17Copy full SHA for 5b30d17
.github/workflows/publish.workflow.yml
@@ -0,0 +1,27 @@
1
+name: Publish
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ publish:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - name: Check out repository
13
+ uses: actions/checkout@v4
14
15
+ - name: Setup .NET Core
16
+ uses: actions/setup-dotnet@v4
17
+ with:
18
+ dotnet-version: 8.0
19
20
+ - name: Install dependencies
21
+ run: dotnet restore
22
23
+ - name: Build
24
+ run: dotnet pack
25
26
+ - name: Publish
27
+ run: dotnet nuget push $(find . -name "*.nupkg") --api-key "${{ secrets.NUGET_APIKEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
0 commit comments