Skip to content

Commit f57fdfb

Browse files
committed
appveyor: update path to Plugin artifacts
and remove the pack step from the post-build script (no longer needed)
1 parent 2d6dd97 commit f57fdfb

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

Scripts/post_build.ps1

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,6 @@ function Validate-Directory ($output) {
5757
New-Item $output -ItemType Directory -Force
5858
}
5959

60-
function Pack-Plugin ($path, $output) {
61-
Write-Host "Begin build nuget library"
62-
63-
$project = "$path\Flow.Launcher.Plugin\Flow.Launcher.Plugin.csproj"
64-
65-
Write-Host "Packing: $project"
66-
Write-Host "Output path: $output"
67-
68-
dotnet pack $project --include-symbols --configuration Release --output $output
69-
70-
Write-Host "End build nuget library"
71-
}
72-
7360
function Zip-Release ($path, $version, $output) {
7461
Write-Host "Begin zip release"
7562

@@ -143,7 +130,6 @@ function Main {
143130

144131
$isInCI = $env:APPVEYOR
145132
if ($isInCI) {
146-
Pack-Plugin $p $o
147133
Zip-Release $p $v $o
148134
}
149135

appveyor.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,8 @@ build:
2222
project: Flow.Launcher.sln
2323
after_test:
2424
artifacts:
25-
- path: 'Output\Packages\*'
25+
- path: 'Output\Packages\*'
26+
- path: 'Output\Release\Flow.Launcher.Plugin.*.nupkg'
27+
name: Plugin nupkg
28+
- path: 'Output\Release\Flow.Launcher.Plugin.*.snupkg'
29+
name: Plugin snupkg

0 commit comments

Comments
 (0)