Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

Commit

Permalink
Fix symbols publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Weyer committed May 31, 2020
1 parent 1986a33 commit fa258a5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ deploy:
# https://www.appveyor.com/docs/deployment/nuget/#provider-settings
secure: GJWQFa9r9CPMzyUgy2luQqa8Yh6UnYLfuDHyG6Xb3YAiU79MpRXeBOiKnSgjD0Ac
skip_symbols: false
symbol_server: https://nuget.smbsrc.net/
symbol_server: https://www.nuget.org/api/v2/symbolpackage
artifact: packages
on:
branch: master
Expand Down
5 changes: 3 additions & 2 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ Task("Pack")
OutputDirectory = packagesDir,
MSBuildSettings = new DotNetCoreMSBuildSettings()
.WithProperty("PackageVersion", packageVersion)
.WithProperty("SymbolPackageFormat", "snupkg")
};
GetFiles("./src/*/*.csproj")
Expand All @@ -121,9 +122,9 @@ Task("PublishAppVeyor")
.WithCriteria(() => HasArgument("pack") && AppVeyor.IsRunningOnAppVeyor)
.Does(() =>
{
CopyFiles($"{packagesDir}/*.nupkg", MakeAbsolute(Directory("./")), false);
CopyFiles($"{packagesDir}/*nupkg", MakeAbsolute(Directory("./")), false);
GetFiles($"./*.nupkg")
GetFiles($"./*nupkg")
.ToList()
.ForEach(f => AppVeyor.UploadArtifact(f, new AppVeyorUploadArtifactsSettings { DeploymentName = "packages" }));
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
<ItemGroup>
<PackageReference Include="WindowsAzure.Storage" Version="9.3.3" />
</ItemGroup>
</Project>
</Project>

0 comments on commit fa258a5

Please sign in to comment.