From 491f4724d1940e4757521008a11c079fa30c3e41 Mon Sep 17 00:00:00 2001
From: Maytham Fahmi <9260645+maythamfahmi@users.noreply.github.com>
Date: Sun, 30 Nov 2025 01:51:10 +0100
Subject: [PATCH] Update build pipeline and embed debug info
Removed `--no-build` from `dotnet pack` in `cd-release.yml` to ensure the project is built before packaging. Removed the `dotnet nuget push` step from the release pipeline. Added `embedded` to `Directory.Build.Props` to embed debugging information in assemblies.
---
.github/workflows/cd-release.yml | 2 +-
Directory.Build.Props | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/cd-release.yml b/.github/workflows/cd-release.yml
index 934032e..520a867 100644
--- a/.github/workflows/cd-release.yml
+++ b/.github/workflows/cd-release.yml
@@ -39,7 +39,7 @@ jobs:
run: dotnet test --configuration Release /p:Version=${VERSION} --no-build
- name: Pack
- run: dotnet pack --configuration Release /p:Version=${VERSION} --no-build --output .
+ run: dotnet pack --configuration Release /p:Version=${VERSION} --output .
- name: Push
run: dotnet nuget push CryptoNet.${VERSION}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${NUGET_TOKEN}
diff --git a/Directory.Build.Props b/Directory.Build.Props
index 4440cef..3d15299 100644
--- a/Directory.Build.Props
+++ b/Directory.Build.Props
@@ -23,6 +23,7 @@
true
snupkg
+ embedded