diff --git a/.github/workflows/build-publish.yml b/.github/workflows/build-publish.yml index 091b013..3a0ddad 100644 --- a/.github/workflows/build-publish.yml +++ b/.github/workflows/build-publish.yml @@ -81,7 +81,7 @@ jobs: - name: Build project and check for errors on non-main branch commits run: | - dotnet build --configuration Release --no-restore + dotnet build --configuration Release if [ $? -ne 0 ]; then echo "Build failed" exit 1