Skip to content

Commit

Permalink
pypi publish v1
Browse files Browse the repository at this point in the history
  • Loading branch information
volodymyrss authored Nov 15, 2024
1 parent e4934bd commit e595561
Showing 1 changed file with 3 additions and 1 deletion.
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

0 comments on commit e595561

Please sign in to comment.