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 0db94b6 commit 48cb4e6Copy full SHA for 48cb4e6
.github/workflows/publish.yml
@@ -0,0 +1,25 @@
1
+# This workflow will build a .NET project
2
+# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
3
+
4
+name: Publish to NuGet.org
5
6
+on:
7
+ workflow_dispatch: # ↩️ manual trigger only
8
9
+jobs:
10
+ build-win:
11
12
+ runs-on: windows-latest
13
14
+ steps:
15
+ - uses: actions/checkout@v3
16
+ - name: Setup .NET
17
+ uses: actions/setup-dotnet@v3
18
+ with:
19
+ dotnet-version: 8.0.x
20
+ - name: Build
21
+ run: ./build.ps1
22
+ shell: pwsh
23
+ - name: Publish
24
+ run: dotnet nuget push artifacts\nupkgs\*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
25
0 commit comments