appveyor: update path to Plugin artifacts

and remove the pack step from the post-build script (no longer needed)
This commit is contained in:
Ioannis G 2020-05-04 14:37:26 +03:00
parent 2d6dd97921
commit f57fdfbc50
No known key found for this signature in database
GPG key ID: EAC0E4E5E36AC49E
2 changed files with 5 additions and 15 deletions

View file

@ -57,19 +57,6 @@ function Validate-Directory ($output) {
New-Item $output -ItemType Directory -Force
}
function Pack-Plugin ($path, $output) {
Write-Host "Begin build nuget library"
$project = "$path\Flow.Launcher.Plugin\Flow.Launcher.Plugin.csproj"
Write-Host "Packing: $project"
Write-Host "Output path: $output"
dotnet pack $project --include-symbols --configuration Release --output $output
Write-Host "End build nuget library"
}
function Zip-Release ($path, $version, $output) {
Write-Host "Begin zip release"
@ -143,7 +130,6 @@ function Main {
$isInCI = $env:APPVEYOR
if ($isInCI) {
Pack-Plugin $p $o
Zip-Release $p $v $o
}

View file

@ -22,4 +22,8 @@ build:
project: Flow.Launcher.sln
after_test:
artifacts:
- path: 'Output\Packages\*'
- path: 'Output\Packages\*'
- path: 'Output\Release\Flow.Launcher.Plugin.*.nupkg'
name: Plugin nupkg
- path: 'Output\Release\Flow.Launcher.Plugin.*.snupkg'
name: Plugin snupkg