Skip to content
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

pypi publish v1 #295

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ on:
jobs:
bump-version:
name: Bump package version
url: https://pypi.org/p/<your-pypi-project-name>
if: "!contains(github.event.head_commit.message, 'Bump version')"
runs-on: ubuntu-20.04

permissions: write-all
# id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
# contents: write
Expand Down Expand Up @@ -80,7 +82,7 @@ jobs:
run: python -m build

- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
verify_metadata: false
Expand Down
Loading