Skip to content

Commit

Permalink
replaced deprecated items
Browse files Browse the repository at this point in the history
  • Loading branch information
hemansah committed May 4, 2024
1 parent 342c714 commit 80621ee
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish-to-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ name: Upload Python Package
on:
release:
types: [published]
branches:
- master

permissions:
contents: read
Expand All @@ -21,9 +23,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
Expand All @@ -33,7 +35,7 @@ jobs:
- name: Build package
run: python -m build
- name: Publish package on PyPi
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 80621ee

Please sign in to comment.