Skip to content

Commit 7b69d92

Browse files
fix: remove symbol package from publish workflow
1 parent 45b7531 commit 7b69d92

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

.github/workflows/nuget-publish.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,7 @@ jobs:
5959
--configuration Release \
6060
--no-build \
6161
--output ./packages \
62-
/p:PackageVersion=${{ steps.version.outputs.VERSION }} \
63-
/p:IncludeSymbols=true \
64-
/p:SymbolPackageFormat=snupkg
62+
/p:PackageVersion=${{ steps.version.outputs.VERSION }}
6563
6664
- name: 📋 List Packages
6765
run: |
@@ -76,7 +74,8 @@ jobs:
7674
dotnet nuget push ./packages/*.nupkg \
7775
--api-key ${{ secrets.NUGET_API_KEY }} \
7876
--source https://api.nuget.org/v3/index.json \
79-
--skip-duplicate
77+
--skip-duplicate \
78+
--no-symbols
8079
continue-on-error: false
8180

8281
# ═══════════════════════════════════════════════════════════
@@ -87,7 +86,8 @@ jobs:
8786
dotnet nuget push ./packages/*.nupkg \
8887
--api-key ${{ secrets.GITHUB_TOKEN }} \
8988
--source https://nuget.pkg.github.com/JsonViewer-Component/index.json \
90-
--skip-duplicate
89+
--skip-duplicate \
90+
--no-symbols
9191
continue-on-error: true
9292

9393
# ═══════════════════════════════════════════════════════════
@@ -97,9 +97,7 @@ jobs:
9797
if: github.event_name == 'release'
9898
uses: softprops/action-gh-release@v2
9999
with:
100-
files: |
101-
./packages/*.nupkg
102-
./packages/*.snupkg
100+
files: ./packages/*.nupkg
103101
env:
104102
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
105103

src/Component/Component.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,7 @@ For full changelog, visit: https://github.com/JsonViewer-Component/Blazor/blob/m
102102
<!-- Source Link for debugging -->
103103
<PublishRepositoryUrl>true</PublishRepositoryUrl>
104104
<EmbedUntrackedSources>true</EmbedUntrackedSources>
105-
<IncludeSymbols>true</IncludeSymbols>
106-
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
105+
<IncludeSymbols>false</IncludeSymbols>
107106
<DebugType>embedded</DebugType>
108107
</PropertyGroup>
109108

0 commit comments

Comments
 (0)