-
Notifications
You must be signed in to change notification settings - Fork 0
Workflow to build and publish gr-patched version of librdkafka/confluent-kafka #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workflow to build and publish gr-patched version of librdkafka/confluent-kafka #1
Conversation
exit 1 | ||
fi | ||
|
||
curl -H "Authorization: Bearer ${GITHUB_TOKEN}" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Downloads appropriate patched version of librdkafka from our NuGet packages index.
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" | |||
|
|||
[project] | |||
name = "confluent-kafka" | |||
version = "2.6.1" | |||
version = "2.6.1+gr" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An official way to denote version 2.6.1
+ gr
patches.
uses: softprops/action-gh-release@v2 | ||
with: | ||
files: | | ||
artifacts/confluent_kafka* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Attach wheels as release artifacts, these will be downloaded by the Python script to build a PIP-compatible simple package index.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
An example of a "simple package index" built with this workflow can be found at https://marcin-krystianc.github.io/confluent-kafka-python/