Skip to content

Commit

Permalink
Only archive distributions on the 0.x tags
Browse files Browse the repository at this point in the history
  • Loading branch information
ynouri committed Jan 6, 2021
1 parent b0a4fc4 commit 9a8a94f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/sdist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9a8a94f

Please sign in to comment.