Skip to content

Commit c0620c7

Browse files
exclude pdb on publish.
1 parent da106e0 commit c0620c7

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,7 @@ jobs:
3232

3333
# Build the project
3434
- name: Build
35-
run: dotnet publish ConvertApi.Cli/ConvertApi.Cli.csproj -c Release -r win-x64 --self-contained true /p:PublishSingleFile=true /p:IncludeNativeLibrariesForSelfExtract=true
36-
37-
# Create a zip package
38-
# - name: Create ZIP package
39-
# run: |
40-
# mkdir -p ${{ env.OUTPUT_DIR }}
41-
# zip -j ${{ env.OUTPUT_DIR }}/convertApi-cli.zip ${{ env.PUBLISH_DIR }}/*
35+
run: dotnet publish ConvertApi.Cli/ConvertApi.Cli.csproj -c Release -r win-x64 --self-contained true /p:PublishSingleFile=true /p:IncludeNativeLibrariesForSelfExtract=true /p:DebugType=none /p:DebugSymbols=false
4236

4337
# Upload the artifact
4438
- name: Upload artifact

0 commit comments

Comments
 (0)