message: Build only when released
diff: @@ -4,8 +4,9 @@ name: Build
  # Controls when the action will run. Triggers the workflow on push or pull request
  on:
  - push:
  - branches: [ master, preview ]
  + release:
  + types: [published]
  + workflow_dispatch:
  # A workflow run is made up of one or more jobs that can run sequentially or in parallel
  jobs:
  