Migration to liquibase/setup-liquibase
: Available for Liquibase versions 4.32.0 and above. If you're using an older version, upgrade your Liquibase version first.
# Individual actions - supported through Liquibase 4.x
- uses: liquibase-github-actions/update@v4.32.0
with:
changelogFile: 'changelog.xml'
url: 'jdbc:h2:mem:test'
# Single setup action - requires Liquibase 4.32.0 or higher
- uses: liquibase/setup-liquibase@v1
with:
version: '4.32.0' # Requires 4.32.0 or higher
edition: 'oss'
- run: liquibase update --changelog-file=changelog.xml --url=jdbc:h2:mem:test
- Check your Liquibase version: Ensure you're using 4.32.0 or higher
- If using older version: Update to 4.32.0+ first using the current micro actions
- Then migrate: Switch to setup-liquibase action
Main repository for the tools and automation to generate Liquibase GitHub Actions at https://github.com/liquibase-github-actions. Uses generated protobuf files from https://github.com/liquibase/protobuf-generator to create an action for each Liquibase command.
graph LR
A[Create Command List] --> |commands.json| B[Terraform]
B --> |create liquibase-github-actions/*command* repo| C{Generate Action}
C -->|calculate-checksum| D[Liquibase Calculate Checksum Action]
C -->|changelog-sync| E[Liquibase Changelog Sync Action]
C -->|...| F[Liquibase ... Action]
C -->|vaildate| G[Liquibase Validate Action]