|
@@ -1,8 +1,9 @@
|
|
|
name: Upload Python Package
|
|
|
|
|
|
on:
|
|
|
- release:
|
|
|
- types: [created]
|
|
|
+ push:
|
|
|
+ tags:
|
|
|
+ - dulwich-*
|
|
|
|
|
|
jobs:
|
|
|
deploy:
|
|
@@ -15,14 +16,14 @@ jobs:
|
|
|
|
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
|
- - name: Set up Python
|
|
|
+ - name: Set up Python ${{ matrix.python-version }}
|
|
|
uses: actions/setup-python@v2
|
|
|
with:
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
- name: Install dependencies
|
|
|
run: |
|
|
|
python -m pip install --upgrade pip
|
|
|
- pip install setuptools wheel twine
|
|
|
+ pip install setuptools wheel twine fastimport
|
|
|
- name: Build and publish
|
|
|
env:
|
|
|
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
|