Skip to content

Commit

Permalink
update github actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
abelcarreras committed Mar 31, 2024
1 parent f5ef703 commit b85d6cd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,9 @@ jobs:
- name: Build sdist
run: |
python setup.py sdist
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: cibw-sdist
path: dist/*.tar.gz

upload_pypi:
Expand All @@ -117,14 +118,16 @@ jobs:
# alternatively, to publish when a GitHub Release is created, use the following rule:
# if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: artifact
# unpacks all CIBW artifacts into dist/
pattern: cibw-*
path: dist
merge-multiple: true

- uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
# repository_url: https://test.pypi.org/legacy/
skip_existing: true
skip_existing: true
2 changes: 1 addition & 1 deletion posym/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__author__ = 'Abel Carreras'
__version__ = '1.1'
__version__ = '1.1.1'

from posym.tools import list_round, get_principal_axis_angles
from posym.pointgroup import PointGroup
Expand Down

0 comments on commit b85d6cd

Please sign in to comment.