github-action-generator

command module
v0.0.0-...-5951e26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

README

GitHub Actions Generator

⚠️ VERSION SUPPORT NOTICE: This project and all generated individual Liquibase GitHub Actions will continue to be supported for Liquibase 4.x. Starting with Liquibase 5.x, they will no longer be supported.

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.

Migration Information

Current Approach (Liquibase 4.x)
# 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
Migration Steps
  1. Check your Liquibase version: Ensure you're using 4.32.0 or higher
  2. If using older version: Update to 4.32.0+ first using the current micro actions
  3. Then migrate: Switch to setup-liquibase action

About This Repository (Historical)

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]

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL