Skip to content

Commit 9a8a94f

Browse files
committed
Only archive distributions on the 0.x tags
1 parent b0a4fc4 commit 9a8a94f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/sdist.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,10 @@ jobs:
4545
run: pytest --verbose test_snappy.py
4646

4747
- name: Archive sdist
48+
if: startsWith(github.ref, 'refs/tags/0.')
4849
uses: actions/upload-artifact@v2
4950
with:
50-
name: python_snappy-${{ matrix.pep-425-tag }}-manylinux
51+
name: python-snappy-sdist
5152
path: dist/python-snappy*.tar.gz
5253

5354
- name: Publish sdist to PyPI

.github/workflows/wheel.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
run: pytest --verbose test_snappy.py
6565

6666
- name: Archive wheels
67+
if: startsWith(github.ref, 'refs/tags/0.')
6768
uses: actions/upload-artifact@v2
6869
with:
6970
name: python_snappy-${{ matrix.pep-425-tag }}-manylinux

0 commit comments

Comments
 (0)