File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ jobs:
119
119
- name : Pack NuGet packages (snapshot)
120
120
shell : pwsh
121
121
run : |
122
- dotnet pack -c Release -o $env:NuGetDirectory
122
+ dotnet pack -c Release -o $env:NuGetDirectory --include-symbols -p:SymbolPackageFormat=snupkg
123
123
if : |
124
124
success() && github.ref == 'refs/heads/main'
125
125
&& matrix.version.target == 'net8.0' && matrix.os == 'windows-latest'
@@ -131,7 +131,7 @@ jobs:
131
131
if ( $env:GITHUB_REF -match '^refs/tags/v(.*)$' ) {
132
132
$VERSION=$matches[1]
133
133
Write-Host $VERSION
134
- dotnet pack -c Release -p:RELEASE_VERSION=$VERSION -o $env:NuGetDirectory
134
+ dotnet pack -c Release -p:RELEASE_VERSION=$VERSION -o $env:NuGetDirectory --include-symbols -p:SymbolPackageFormat=snupkg
135
135
} else {
136
136
Write-Error "Failed to extract the version from env:GITHUB_REF"
137
137
Exit 1
You can’t perform that action at this time.
0 commit comments