Fix GitHub Actions ref check and update packaging license metadata#98
Closed
Fix GitHub Actions ref check and update packaging license metadata#98
Conversation
Summary: This commit modifies the license configuration in the `pyproject.toml` file to use a simpler format. The license is now specified as a string, and a new field for license files has been added to include the LICENSE file. Changes: - Changed `license` from a table format to a string format. - Added `license-files` to specify the LICENSE file. This update streamlines the license declaration for better clarity and compliance.
Summary:
This commit updates the nightly PyPI publish workflow to use the correct syntax for checking the GitHub reference type. The change ensures that the condition evaluates properly during the build process.
Changes:
- Modified the reference type check from `${GITHUB_REF_TYPE}` to `${{ github.ref_type }}` in `.github/workflows/nightly-pypi.yml`.
This adjustment enhances the reliability of the workflow by aligning with the correct GitHub Actions context syntax.
fc5ffba to
917c6f0
Compare
Contributor
Contributor
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.
This PR refines CI logic and corrects packaging metadata.
github.ref_typefor tag detection in nightly publish job.pyproject.tomlto use canonicallicense = "BSD-3-Clause"and includelicense-filesfor proper distribution metadata.These changes improve release correctness for both nightly and stable builds.