This changes previous behavior where the dbt would always result in a successful run. If you want to trigger subsequent steps after a failed dbt run you can check the status of the job:
- name: Get the result
if: ${{ always() }}
run: echo "${{ steps.dbt-run.outputs.result }}"
shell: bash