Skip to content

Update Azure/sql-action From v2.0 to @v2.3 - #79

Merged
bennyaustin merged 7 commits into
mainfrom
Mirror-ELT-Pattern
Apr 19, 2026
Merged

Update Azure/sql-action From v2.0 to @v2.3#79
bennyaustin merged 7 commits into
mainfrom
Mirror-ELT-Pattern

Conversation

@bennyaustin

Copy link
Copy Markdown
Owner

This pull request updates the deployment workflow for the ControlDB SQL project in the GitHub Actions pipeline. The main changes involve switching from direct project deployment to building a .dacpac file with MSBuild before deploying, improving build transparency and reliability.

Build and deployment process improvements:

  • Added a step to display all checked-out files and folders for easier troubleshooting and verification.
  • Introduced a dedicated MSBuild setup step to ensure the build environment is properly configured.
  • Replaced direct deployment of the SQL project with a two-step process: first building a .dacpac using MSBuild, then deploying the generated .dacpac file using Azure/sql-action@v2.3.

Deployment configuration changes:

  • Updated the deployment path to point to the built .dacpac file instead of the .sqlproj file, and added the /p:IgnorePostDeployScript=false argument to the deployment command for finer control over post-deployment scripts.

Fix the Azure/sql-action project path in .github/workflows/ControlDB-deployment.yml. The workflow previously pointed to ControlDB\ELT\Database.sqlproj; it now references ControlDB\ControlDB.sqlproj so the correct project is published. No other workflow behavior was changed.
@bennyaustin
bennyaustin merged commit 1d3d26f into main Apr 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant