diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b0db1ac..ce21fc4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 @@ -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/