commit 65bbae9072058f399984748b62aa3e5da96b1b49 from: Jelmer Vernooij via: GitHub date: Thu May 19 11:09:41 2022 UTC Merge pull request #969 from dtrifiro/fix-ci gha: don't forget to install twine commit - 12fe64192e7477d5e014e67ed432ad5e9c7ad5e8 commit + 65bbae9072058f399984748b62aa3e5da96b1b49 blob - 00a8460379477df92ff21c6466ad89147503d005 blob + 80ce538f9c5fb0cff480aa58aed975a72a9658a5 --- .github/workflows/pythonwheels.yml +++ .github/workflows/pythonwheels.yml @@ -35,7 +35,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install setuptools wheel twine fastimport paramiko + pip install setuptools wheel fastimport paramiko - name: Install gpg on supported platforms run: pip install -U gpg if: "matrix.os != 'windows-latest' && matrix.python-version != 'pypy3'" @@ -79,6 +79,10 @@ jobs: needs: build if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/dulwich-') steps: + - name: Install twine + run: | + python -m pip install --upgrade pip + pip install twine - name: Publish (Linux) env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}