Skip to content

Commit 8ebc2e4

Browse files
committed
Add Release build step to package-validation job in GitHub Actions workflow
1 parent 3cc5289 commit 8ebc2e4

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ jobs:
139139
else
140140
echo "✅ No vulnerable packages found."
141141
fi
142-
143142
package-validation:
144143
runs-on: ubuntu-latest
145144
needs: build
@@ -158,6 +157,9 @@ jobs:
158157
- name: Restore dependencies
159158
run: dotnet restore
160159

160+
- name: Build (Release) for packaging
161+
run: dotnet build src/NLWebNet --configuration Release --no-restore --verbosity minimal
162+
161163
- name: Pack NuGet package
162164
run: dotnet pack src/NLWebNet --configuration Release --no-build --output ./packages
163165

doc/todo.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ The demo application is now fully functional with a modern .NET 9 Blazor Web App
4848
-**Core Data Models**: Complete implementation of NLWeb protocol request/response models with validation and JSON serialization
4949
-**Build Fixes**: Resolved App.razor build warnings by adding proper @using directives and removing duplicate files
5050
-**CI/CD Testing Fix**: Updated GitHub Actions workflow to gracefully handle missing test projects and prevent build failures
51+
-**CI/CD Packaging Fix**: Added Release build step to package-validation job to ensure NuGet DLL is available for packaging
5152

5253
The next phase focuses on implementing the core NLWeb library functionality.
5354

0 commit comments

Comments
 (0)