We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e39c692 + 62ed1c1 commit b7d2e9aCopy full SHA for b7d2e9a
.github/workflows/dotnet-publish.yml
@@ -0,0 +1,19 @@
1
+name: .NET
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - 'main'
7
8
+jobs:
9
+ ## Only build nuget package and release to Nuget.org when running on main branch
10
+ dotnet_pack_release_job:
11
+ uses: baoduy/ShareWorkflows/.github/workflows/dotnet-nuget-release.yml@main
12
+ with:
13
+ Project_Path: 'DKNet.FW.sln'
14
+ Enable_Release: false
15
+ Enable_Nuget_Release: ${{ github.ref == 'refs/heads/main'}}
16
+ Dotnet_Version: 9.x
17
+ secrets:
18
+ PACKAGE_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
19
+ NUGET_PACKAGE_TOKEN: ${{ secrets.NUGET_PACKAGE_TOKEN }}
0 commit comments