Skip to content

Commit

Permalink
Update release.yaml (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
gsheni authored Feb 9, 2024
1 parent 90e81d1 commit a2d3fc4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ jobs:
name: PyPI Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up python 3.10
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install pip --upgrade
python -m pip install build --upgrade
python -m pip install setuptools --upgrade
python -m pip install packaging --upgrade
- name: Set pyproject version
Expand All @@ -38,6 +40,3 @@ jobs:
make package
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
repository-url: https://upload.pypi.org/legacy/

0 comments on commit a2d3fc4

Please sign in to comment.