Skip to content

Commit

Permalink
Update python-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
juerkkil authored Oct 20, 2024
1 parent e6e52c9 commit dd7f6b4
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,15 @@ name: Upload Python Package

on:
release:
types: [published]

permissions:
contents: read
types: [created]

jobs:
deploy:
name: upload release to PyPI
runs-on: ubuntu-latest
permissions:
id-token: write

steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand All @@ -34,7 +32,7 @@ jobs:
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
uses: pypa/gh-action-pypi-publish@release/v1



Expand Down

0 comments on commit dd7f6b4

Please sign in to comment.