瀏覽代碼

Merge pull request #969 from dtrifiro/fix-ci

gha: don't forget to install twine
Jelmer Vernooij 2 年之前
父節點
當前提交
65bbae9072
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      .github/workflows/pythonwheels.yml

+ 5 - 1
.github/workflows/pythonwheels.yml

@@ -35,7 +35,7 @@ jobs:
     - name: Install dependencies
     - name: Install dependencies
       run: |
       run: |
         python -m pip install --upgrade pip
         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
     - name: Install gpg on supported platforms
       run: pip install -U gpg
       run: pip install -U gpg
       if: "matrix.os != 'windows-latest' && matrix.python-version != 'pypy3'"
       if: "matrix.os != 'windows-latest' && matrix.python-version != 'pypy3'"
@@ -79,6 +79,10 @@ jobs:
     needs: build
     needs: build
     if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/dulwich-')
     if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/dulwich-')
     steps:
     steps:
+    - name: Install twine
+      run: |
+        python -m pip install --upgrade pip
+        pip install twine
     - name: Publish (Linux)
     - name: Publish (Linux)
       env:
       env:
         TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
         TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}