Przeglądaj źródła

Merge pull request #969 from dtrifiro/fix-ci

gha: don't forget to install twine
Jelmer Vernooij 2 lat temu
rodzic
commit
65bbae9072
1 zmienionych plików z 5 dodań i 1 usunięć
  1. 5 1
      .github/workflows/pythonwheels.yml

+ 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 }}