-
Notifications
You must be signed in to change notification settings - Fork 7
Add GitHub Actions workflow for creating release artifacts and update… #11
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
Conversation
… .gitignore to include additional files
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.
Pull Request Overview
A workflow is added to automatically build and upload Python distribution artifacts on version tag pushes, alongside updating .gitignore to filter out generated files.
- Introduces a new
release.ymlthat checks out code, sets up Python, installs build tools, generates artifacts, and uploads them. - Updates
.gitignoreto exclude distribution outputs and related files.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| .github/workflows/release.yml | New GitHub Actions workflow to create and upload release artifacts on tag pushes |
| .gitignore | Updated to ignore additional generated files |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ld module for artifact creation
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.
Pull Request Overview
This PR adds a new GitHub Actions workflow to automatically build and upload Python distribution artifacts on tag pushes or manual dispatch.
- Introduces
.github/workflows/release.ymlto trigger onpushtags (v*) andworkflow_dispatch, set up Python 3.11, build sdist and wheel, then upload them as artifacts.
Comments suppressed due to low confidence (1)
.github/workflows/release.yml:28
- The build step invokes
python -m buildbut thebuildpackage isn't installed. Addpip install build(or include it alongside setuptools and wheel) to ensure the build command succeeds.
pip install setuptools wheel
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.
Pull Request Overview
This PR introduces a new GitHub Actions workflow that builds distribution artifacts and uploads them when a tagged commit is pushed.
- Adds a workflow to trigger on push tags following the pattern 'v*'.
- Implements steps to checkout code, set up Python, cache dependencies, build distributions, and upload artifacts.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
… .gitignore to include additional files