Replace this deprecated action with:
- uses: liquibase/setup-liquibase@v1
with:
version: '4.32.0' # or latest
edition: 'oss' # or 'pro'
- run: liquibase update --changelog-file=changelog.xml
- Modern Architecture: The new action follows GitHub Actions best practices
- Security: Regular updates and security patches
- Flexibility: Run any Liquibase command after setup
- Performance: Faster execution with better caching
โ Old (deprecated):
- uses: liquibase/liquibase-github-action@v7
with:
operation: 'update'
changeLogFile: 'changelog.xml'
username: ${{ secrets.DB_USER }}
password: ${{ secrets.DB_PASS }}
url: ${{ secrets.DB_URL }}
โ New (recommended):
- uses: liquibase/setup-liquibase@v1
with:
version: '4.32.0'
- run: |
liquibase update \
--changelog-file=changelog.xml \
--username="${{ secrets.DB_USER }}" \
--password="${{ secrets.DB_PASS }}" \
--url="${{ secrets.DB_URL }}"
- ๐ Setup Liquibase Action Documentation
- ๐ Migration Examples
- ๐ Support
This repository has been archived. No further updates will be provided. EOF < /dev/null