Skip to content

Use exit code for dbt runs

Compare
Choose a tag to compare
@mwhitaker mwhitaker released this 27 Oct 18:38
· 62 commits to master since this release

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