Official GitHub Action to run Liquibase Update One Changeset Sql in your GitHub Action Workflow. For more information on how update one changeset sql works visit the Official Liquibase Documentation.
[PRO] Generates sql to run single changeset
steps:
- uses: actions/checkout@v3
- uses: liquibase-github-actions/update-one-changeset-sql@v4.28.0
with:
# The root changelog file
# string
# Required
changelogFile: ""
# Author of the changeset to execute
# string
# Required
changesetAuthor: ""
# Id of the changeset to execute
# string
# Required
changesetId: ""
# Path to the changeset to execute
# string
# Required
changesetPath: ""
# The JDBC database connection URL
# string
# Required
url: ""
# Fully-qualified class which specifies a ChangeExecListener
# string
# Optional
changeExecListenerClass: ""
# Path to a properties file for the ChangeExecListenerClass
# string
# Optional
changeExecListenerPropertiesFile: ""
# Context string to use for filtering
# string
# Optional
contextFilter: ""
# The default catalog name to use for the database connection
# string
# Optional
defaultCatalogName: ""
# The default schema name to use for the database connection
# string
# Optional
defaultSchemaName: ""
# The JDBC driver class
# string
# Optional
driver: ""
# The JDBC driver properties file
# string
# Optional
driverPropertiesFile: ""
# Label expression to use for filtering
# string
# Optional
labelFilter: ""
# Password to use to connect to the database
# string
# Optional
password: ""
# Username to use to connect to the database
# string
# Optional
username: ""
It is a good practice to protect your database credentials with GitHub Secrets
The liquibase update one changeset sql action accepts all valid liquibase global options as optional parameters. A full list is available in the official Liquibase Documentation.
steps:
- uses: actions/checkout@v3
- uses: liquibase-github-actions/update-one-changeset-sql@v4.28.0
with:
changelogFile: ""
changesetAuthor: ""
changesetId: ""
changesetPath: ""
url: ""
headless: true
licenseKey: ${{ secrets.LIQUIBASE_LICENSE_KEY }}
logLevel: INFO
This action is automatically generated. Please submit all feedback and issues with the generator repository.