Skip to content

Comments

add post-merge release step#11

Merged
ekohilas merged 3 commits intomainfrom
evan-add-continous-deployment
Aug 4, 2025
Merged

add post-merge release step#11
ekohilas merged 3 commits intomainfrom
evan-add-continous-deployment

Conversation

@ekohilas
Copy link
Owner

@ekohilas ekohilas commented Aug 4, 2025

No description provided.

@ekohilas ekohilas merged commit 8ad670d into main Aug 4, 2025
5 checks passed
Comment on lines +54 to +62
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install tools
run: python -m pip install --upgrade pip twine build
- name: Build package
run: python -m build

Choose a reason for hiding this comment

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

@ekohilas hey, I want to point out that this is insecure when using OIDC. The only correct use is building the dists in a separate job: https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/.

I'll eventually make the action warn about this case: pypa/gh-action-pypi-publish#324.

Copy link
Owner Author

Choose a reason for hiding this comment

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

Hey thanks for reaching out I really appreciate it!

I've replied asking about why in your linked issue.

Sign up for free to 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