2
0
Эх сурвалжийг харах

Merge pull request #969 from dtrifiro/fix-ci

gha: don't forget to install twine
Jelmer Vernooij 2 жил өмнө
parent
commit
65bbae9072

+ 5 - 1
.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 }}