Fixed build.ln
ln.build - build0.waldrennach.l--n.de build job pending Details

master 0.2.0
Harald Wolff 2020-12-30 12:22:29 +01:00
parent d3f4cc2033
commit e4f4989ea2
1 changed files with 4 additions and 34 deletions

View File

@ -1,47 +1,17 @@
{
"templates": [
"dotnet"
],
"env": {
"NUGET_SOURCE": "https://nexus.niclas-thobaben.de/repository/l--n.de/",
"CONFIGURATION": "Release"
},
"stages": [
{
"name": "setup",
"env": {
"SOME_ENV_VAR": "Some text",
},
"commands": [
"SH echo Setting up build environment",
"SH set",
"SH rm -Rf .build"
]
},
{
"name": "prepare",
"commands": [
"SH dotnet restore",
"SH dotnet clean"
"dotnet prepare */*.csproj"
]
},
{
"name": "build",
"commands": [
"SH dotnet build -c $CONFIGURATION"
]
},
{
"name": "pack_and_publish",
"commands": [
"SH dotnet pack -o .build -c $CONFIGURATION",
]
},
{
"name": "push",
"commands": [
"SH for NUPKG in .build/ln.*.nupkg; do dotnet nuget push $NUPKG -s $NUGET_SOURCE -k $NUGET_APIKEY; done",
],
"secrets": {
"NUGET_APIKEY": "https://nexus.niclas-thobaben.de"
}
}
]
}