@@ -200,8 +200,6 @@ jobs:
200200 - name : Replace local environment variable in nuget config because cant provide it as a parameter
201201 run : |
202202 sed -i "s|%TEL_BLAZOR_PACKAGE_SOURCE%|$LOCAL_PACKAGES_PATH|g" nuget.config
203- # sed -i "s|%GITHUB_USERNAME%|$GITHUB_USERNAME|g" nuget.config
204- # sed -i "s|%TEL_GIT_PACKAGES_TOKEN%|$TEL_GIT_PACKAGES_TOKEN|g" nuget.config
205203
206204 - name : Clean lock files because the newly generated package file will superseed the locks
207205 run : |
@@ -239,29 +237,29 @@ jobs:
239237
240238 - name : Build and create package locally
241239 run : |
242- dotnet build TELBlazor.Components -c Debug \
240+ dotnet build TELBlazor.Components -c Release \
243241 /p:TELBlazorPackageVersion=$TELBLAZOR_PACKAGE_VERSION \
244242 /p:NugetPackagesOutputPath=$NUGET_PACKAGES_OUTPUT_PATH \
245243 /p:UseTELBlazorComponentsProjectReference=$USE_TEL_BLAZOR_COMPONENTS_PROJECT_REFERENCE \
246244 /p:DisablePackageGeneration=false
247245
248246 - name : Build solution without generating new package
249247 run : |
250- dotnet build TELBlazor.sln -c Debug \
248+ dotnet build TELBlazor.sln -c Release \
251249 /p:TELBlazorPackageVersion=$TELBLAZOR_PACKAGE_VERSION \
252250 /p:NugetPackagesOutputPath=$NUGET_PACKAGES_OUTPUT_PATH \
253251 /p:UseTELBlazorComponentsProjectReference=$USE_TEL_BLAZOR_COMPONENTS_PROJECT_REFERENCE \
254252 /p:DisablePackageGeneration=true
255253
256254
257255 - name : Ensure browsers are installed
258- run : pwsh TELBlazor.Components.ShowCase.E2ETests/bin/Debug /net8.0/playwright.ps1 install --with-deps
256+ run : pwsh TELBlazor.Components.ShowCase.E2ETests/bin/Release /net8.0/playwright.ps1 install --with-deps
259257
260258
261259 - name : Run tests with coverage threshold check
262260 id : unit_e2e_tests
263261 run : |
264- dotnet test --no-build --no-restore \
262+ dotnet test --no-build --no-restore -c Release \
265263 /p:TELBlazorPackageVersion=$TELBLAZOR_PACKAGE_VERSION \
266264 /p:NugetPackagesOutputPath=$NUGET_PACKAGES_OUTPUT_PATH \
267265 /p:UseTELBlazorComponentsProjectReference=$USE_TEL_BLAZOR_COMPONENTS_PROJECT_REFERENCE \
0 commit comments