From 83df679eb9f1e54fc1a016bf774a4b6acee0b3b1 Mon Sep 17 00:00:00 2001 From: Steve Smith Date: Wed, 9 Apr 2025 11:14:28 -0400 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7aa6cdecd..1e9d7c286 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -24,9 +24,9 @@ jobs: include-prerelease: true - name: Build and test - run: dotnet test --filter FullyQualifiedName!~Vimeo.Tests --configuration Release + run: dotnet test --filter FullyQualifiedName!~Vimeo.Tests --configuration Release -warnaserror- - name: publish - run: dotnet publish ./src/DevBetterWeb.Web/DevBetterWeb.Web.csproj -c Release -o '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/WebApp' + run: dotnet publish ./src/DevBetterWeb.Web/DevBetterWeb.Web.csproj -c Release -o '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/WebApp' -warnaserror- # Deploy to Azure WebApps using Publish Profile - name: 'Azure webapp deploy with Publish Profile'