Skip to content

Commit

Permalink
update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Furkan Akkurt committed Feb 1, 2024
1 parent 7c501e2 commit 95d5336
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,13 @@ name: Upload Python Package
on:
release:
types: [published]

permissions:
contents: read

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand All @@ -33,6 +31,6 @@ jobs:
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@release/v1.8
with:
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 95d5336

Please sign in to comment.