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'