Skip to content

Commit

Permalink
Change database package creation to using dotnet cli
Browse files Browse the repository at this point in the history
  • Loading branch information
mjaksn committed Nov 7, 2024
1 parent 3a3751f commit cf4c41e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion build.githubactions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,19 @@ function Pack {
}
}
if ($NuspecFilePath -Like "*.nuspec" -and $null -ne $PackageName){
nuget pack $NuspecFilePath -OutputDirectory $packageOutput -Version $version -Properties configuration=$Configuration -Properties id=$PackageName -NoPackageAnalysis -NoDefaultExcludes
$params = @{
PackageDefinitionFile = $NuspecFilePath
Version = $version
Properties = @{
configuration = $Configuration
id = $PackageName
}
OutputDirectory = $packageOutput
}

& "$PSScriptRoot/Initialize-PowershellForDevelopment.ps1"

New-Package @params | Out-Host
}
if ([string]::IsNullOrWhiteSpace($NuspecFilePath) -and $null -ne $PackageName){
Invoke-Execute {
Expand Down

0 comments on commit cf4c41e

Please sign in to comment.