Conversation
… .gitignore to include additional files
Contributor
There was a problem hiding this comment.
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
Contributor
There was a problem hiding this comment.
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>
Contributor
There was a problem hiding this comment.
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
… .gitignore to include additional files