Skip to content

v2, including Azure Active Directory support

Compare
Choose a tag to compare
@dzsquared dzsquared released this 28 Sep 22:55
· 49 commits to master since this release
b62786f

🎉 The v2 release introduces a few improvements:

  1. AAD authentication with username/password, service principal, and managed identity (#60, #78, #93)
  2. Support for access with login credentials that do not have access to master

🛠️ Breaking changes

  1. The action switched from sqlcmd to go-sqlcmd for script execution. It will automatically install the latest go-sqlcmd if it is not found.
  2. The action's yaml input format has been changed. This includes removal of server-name.
- uses: azure/sql-action@v2
  with:
    # required, connection string incl the database and user authentication information
    connection-string:

    # required, path to either a .sql, .dacpac, or .sqlproj file
    path:

    # optional when using a .sql script, required otherwise
    # sqlpackage action on the .dacpac or .sqlproj file, supported options are: Publish, Script, DeployReport, DriftReport
    action:

    # optional additional sqlpackage or go-sqlcmd arguments
    arguments:

    # optional additional dotnet build options when building a database project file
    build-arguments: