diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml
index db293d7..1f1e3df 100644
--- a/.github/workflows/dotnet.yml
+++ b/.github/workflows/dotnet.yml
@@ -26,12 +26,12 @@ jobs:
- name: Restore dependencies
run: dotnet restore
- name: Build
- run: dotnet build --no-restore
+ run: dotnet build -c Release --no-restore
- name: Test
- run: dotnet test --no-build --verbosity normal
+ run: dotnet test -c Release --no-build --verbosity normal
- name: Pack NuGet packages
if: github.event_name != 'pull_request' && matrix.os == 'windows-latest'
- run: dotnet pack --no-build --output nupkgs
+ run: dotnet pack -c Release --no-build --output nupkgs
- name: Upload NuGet packages
if: github.event_name != 'pull_request' && matrix.os == 'windows-latest'
uses: actions/upload-artifact@v4
diff --git a/test/F23.StringSimilarity.Benchmarks/F23.StringSimilarity.Benchmarks.csproj b/test/F23.StringSimilarity.Benchmarks/F23.StringSimilarity.Benchmarks.csproj
index f4dda15..8035ce4 100644
--- a/test/F23.StringSimilarity.Benchmarks/F23.StringSimilarity.Benchmarks.csproj
+++ b/test/F23.StringSimilarity.Benchmarks/F23.StringSimilarity.Benchmarks.csproj
@@ -5,6 +5,7 @@
net8.0
enable
enable
+ false