Skip to content

Commit 33b87dc

Browse files
authored
Update publish.yml (#1355)
1 parent 2c36c3b commit 33b87dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
include-prerelease: true
2525

2626
- name: Build and test
27-
run: dotnet test --filter FullyQualifiedName!~Vimeo.Tests --configuration Release
27+
run: dotnet test --filter FullyQualifiedName!~Vimeo.Tests --configuration Release -warnaserror-
2828
- name: publish
29-
run: dotnet publish ./src/DevBetterWeb.Web/DevBetterWeb.Web.csproj -c Release -o '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/WebApp'
29+
run: dotnet publish ./src/DevBetterWeb.Web/DevBetterWeb.Web.csproj -c Release -o '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/WebApp' -warnaserror-
3030

3131
# Deploy to Azure WebApps using Publish Profile
3232
- name: 'Azure webapp deploy with Publish Profile'

0 commit comments

Comments
 (0)