Skip to content

Commit b7d2e9a

Browse files
committed
Merge branch 'main' of github.com:baoduy/DKNet
2 parents e39c692 + 62ed1c1 commit b7d2e9a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)