ln.build/ln.build/scripts/pipeline/dotnet.ln

45 lines
955 B
Plaintext

{
"env": {
"CONFIGURATION": "Release",
"DOTNET_RIDS": "linux-x64:win-x64:osx-x64"
},
"stages": [
{
"name": "prepare",
"priority": 100,
"commands": [
"dotnet prepare *.sln *.csproj"
]
},
{
"name": "build",
"priority": 300,
"commands": [
"dotnet build"
]
},
{
"name": "test",
"priority": 500,
"commands": [
"dotnet test"
]
},
{
"name": "pack",
"priority": 700,
"commands": [
"dotnet pack",
"dotnet publish"
]
},
{
"name": "push",
"priority": 1000,
"commands": [
"dotnet push",
"deploy"
]
}
]
}