First release of the schema registry action! 🎉
Usage:
Add a schema.yml
mapping schemas to subjects for validation
---
schemas:
- subject: subject1-key
file: schema0.avsc
# - ...
A Github Actions specification in the workflow folder (.github/workflows/*.yml
)
uses: divloic/ccloud-registry-action@v0.0.1
with:
avro-files-path: src/main/avro/
avro-subject-yaml: schemas.yaml
schema-registry-url: ${{ secrets.SCHEMA_REGISTRY_URL }}
schema-registry-api-key: ${{ secrets.SCHEMA_REGISTRY_API_KEY }}
schema-registry-secret-key: ${{ secrets.SCHEMA_REGISTRY_SECRET_KEY }}