diff --git a/.github/workflows/sdist.yml b/.github/workflows/sdist.yml index a9a58e2..8523d92 100644 --- a/.github/workflows/sdist.yml +++ b/.github/workflows/sdist.yml @@ -45,9 +45,10 @@ jobs: run: pytest --verbose test_snappy.py - name: Archive sdist + if: startsWith(github.ref, 'refs/tags/0.') uses: actions/upload-artifact@v2 with: - name: python_snappy-${{ matrix.pep-425-tag }}-manylinux + name: python-snappy-sdist path: dist/python-snappy*.tar.gz - name: Publish sdist to PyPI diff --git a/.github/workflows/wheel.yml b/.github/workflows/wheel.yml index ba86fe2..a23d8c3 100644 --- a/.github/workflows/wheel.yml +++ b/.github/workflows/wheel.yml @@ -64,6 +64,7 @@ jobs: run: pytest --verbose test_snappy.py - name: Archive wheels + if: startsWith(github.ref, 'refs/tags/0.') uses: actions/upload-artifact@v2 with: name: python_snappy-${{ matrix.pep-425-tag }}-manylinux