Skip to content

add github release action - #22

Open
adamkorynta wants to merge 6 commits into
mainfrom
feature/jpype-github-actions
Open

add github release action#22
adamkorynta wants to merge 6 commits into
mainfrom
feature/jpype-github-actions

Conversation

@adamkorynta

@adamkoryntaadamkorynta commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

modularize GitHub Actions workflows: separate build-wheel and release processes

@adamkorynta
adamkoryntaforce-pushed the feature/jpype-github-actions branch from 4577622 to 6688c1bCompareJuly 16, 2026 20:52
@adamkorynta
adamkoryntaforce-pushed the feature/jpype-github-actions branch 2 times, most recently from 755f671 to e2479c0CompareJuly 24, 2026 19:47
Base automatically changed from feature/jpype-regi-python to mainJuly 24, 2026 22:08
@adamkorynta
adamkoryntaforce-pushed the feature/jpype-github-actions branch from e2479c0 to 20d2246CompareJuly 24, 2026 22:10
@adamkorynta
adamkorynta marked this pull request as ready for review July 24, 2026 22:12
@adamkoryntaadamkorynta changed the title modularize GitHub Actions workflows: separate build-wheel and release processesadd github release actionJul 24, 2026

@rma-psmorrisrma-psmorris left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feedback, does not necessarily need revision.

try:
return float(rate_attr) * 100
except (TypeError, ValueError):
return 0.0

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consider returning N/A or -- instead of 0% given the attribute is missing.

Copy link
Copy Markdown
CollaboratorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated to N/A

Comment thread.github/workflows/release.yml Outdated
- published

permissions:
contents: write

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only publish needs write, you could limit publish-wheel to write instead of the whole workflow.

Copy link
Copy Markdown
CollaboratorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good call, updated

Comment thread.github/workflows/release.yml Outdated
sha256sum *.whl > SHA256SUMS.txt

- name: Publish wheel to GitHub Release
uses: softprops/action-gh-release@v2

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick, you could swap off of v2 to the specific hash of the dependency here.

Copy link
Copy Markdown
CollaboratorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated to use the gh cli instead rather than pulling in a third-party action at all

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@adamkorynta@rma-psmorris