Switched to modern resources, some refactor of project and jenkins files

This commit is contained in:
Toastie 2024-10-29 22:25:03 +13:00
parent c084cbe368
commit 493cfd3436
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4
6 changed files with 34 additions and 211 deletions

4
Jenkinsfile vendored
View file

@ -10,12 +10,12 @@ pipeline {
parallel {
stage('Linux') {
steps {
sh 'dotnet publish -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -p:PublishTrimmed=true -r linux-x64 -c Release --self-contained true --no-restore --output Linux-x64/'
sh 'dotnet publish -r linux-x64 -c Release --self-contained true --no-restore --output Linux-x64/'
}
}
stage('Windows') {
steps {
sh 'dotnet publish -p:PublishSingleFile=true -p:IncludeAllContentForSelfExtract=true -p:PublishTrimmed=true -r win-x64 -c Release --self-contained true --no-restore --output Windows-x64/'
sh 'dotnet publish -r win-x64 -c Release --self-contained true --no-restore --output Windows-x64/'
}
}
}