pipeline {
    agent any
    tools {
        dotnetsdk 'dotnet6'
    }
    stages {
        stage('Build') {
            steps {
                echo 'Building..'
                sh 'dotnet publish --configuration Release --output PUBLISH'
            }
        }
    }
}