File tree Expand file tree Collapse file tree 1 file changed +11
-20
lines changed
Expand file tree Collapse file tree 1 file changed +11
-20
lines changed Original file line number Diff line number Diff line change 11name : nbgv_dotnet_pack
2+
23on :
34 workflow_call :
45 inputs :
5- build_configuration :
6- description : " MSBuild configuration (Release, Develop, Debug …) "
7- required : false
6+ # 🆕 caller chooses which commit / branch / tag to build
7+ checkout_ref :
8+ description : " Git ref to check out (branch, tag, or SHA) "
89 type : string
9- default : " Release "
10+ default : ${{ github.ref }}
1011
11- dotnet_version :
12- description : " .NET SDK channel"
13- required : false
12+ build_configuration :
1413 type : string
15- default : " 9.0.x "
14+ default : Release
1615
1716 push_after_pack :
18- description : " Push the .nupkg to nuget_source?"
19- required : false
2017 type : boolean
2118 default : false
2219
23- nuget_source :
24- description : " Feed URL"
25- required : false
26- type : string
27- default : " https://api.nuget.org/v3/index.json"
28-
2920 force_dev_prerelease :
30- description : " Force -dev prerelease tag even on main/release branches"
31- required : false
3221 type : boolean
3322 default : false
3423
24+ nuget_source :
25+ type : string
26+ default : https://api.nuget.org/v3/index.json
27+
3528 secrets :
3629 NUGET_API_KEY :
37- description : " API key for nuget_source (needed if push_after_pack=true)"
3830 required : false
39-
4031jobs :
4132 build-pack :
4233 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments