Skip to content

Commit

Permalink
Update to latest python-publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
colinpalmer committed Jan 11, 2024
1 parent b4e0397 commit 75a361d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,13 @@ jobs:

- name: Publish package to PyPI
if: github.event_name == 'release'
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
uses: pypa/gh-action-pypi-publish@v1.8.11
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

- name: Publish package to Test PyPI
if: github.event_name == 'workflow_dispatch'
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
uses: pypa/gh-action-pypi-publish@v1.8.11
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
repository-url: https://test.pypi.org/legacy/
2 changes: 1 addition & 1 deletion mrcfile/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
no dependencies.
"""

__version__ = '1.5.0'
__version__ = '1.5.0-dev'

0 comments on commit 75a361d

Please sign in to comment.