# Ensure this script fails if either build or upload fails $ErrorActionPreference = "Stop" # Ensure we actually build before upload (common mistake) & .\build.ps1 # Upload to board & .\upload.ps1