Set up an automated workflow to build and publish a Linux binary for the corpora CLI located at py/packages/corpora_cli/main.py for each new commit to the main branch using GitHub Actions.
Goals
Leverage PyInstaller to create a Linux binary automatically.
Trigger the build process on every commit to the main branch and publish the resultant binary.
Context
The CLI is configurable through the environment variables, defaulting to localhost.
The focus is solely on Linux binary creation for now; cross-platform binaries are not within the current scope.
Proposed Steps
GitHub Actions Setup:
Develop a workflow that executes on each commit to main.
Use PyInstaller to build the Linux binary.
Implement steps to upload the created binary as an artifact.
Artifact Publishing:
Ensure the workflow publishes the binary as a GitHub Actions artifact for straightforward access.
This task will enable automated packaging and distribution of the CLI, simplifying installation for Linux users.
Objective
Set up an automated workflow to build and publish a Linux binary for the
corpora
CLI located atpy/packages/corpora_cli/main.py
for each new commit to the main branch using GitHub Actions.Goals
Context
Proposed Steps
GitHub Actions Setup:
main
.Artifact Publishing:
This task will enable automated packaging and distribution of the CLI, simplifying installation for Linux users.