Skip to content

Commit

Permalink
v1.8.1 to fix gh actions pypi upload
Browse files Browse the repository at this point in the history
  • Loading branch information
adrn committed Dec 31, 2023
1 parent fe06f25 commit f1d9d66
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 20 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install gsl-bin libgsl0-dev
pip install pep517
python -m pep517.build -s .
pip install build
python -m build -s .
- uses: actions/upload-artifact@v3
with:
Expand All @@ -81,14 +81,16 @@ jobs:
needs: [build_nix_wheels, build_sdist]
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
environment:
name: release
url: https://pypi.org/p/gala
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v3
with:
name: artifact
path: dist

- uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_password }}
# To test: repository_url: https://test.pypi.org/legacy/
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
16 changes: 4 additions & 12 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
1.9 (unlreleased)
=================

New Features
------------


Bug fixes
---------

1.8.1 (2023-12-31)
==================

API changes
-----------
- New release to fix upload to PyPI from GitHub Actions and invalid pin in pyia
dependency.


1.8 (2023-12-23)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ tutorials = [
"jupyter_client",
"ipykernel",
"jupytext",
"pyia @ git+https://github.com/adrn/pyia",
"pyia>=1.4",
"astroquery"
]

Expand Down

0 comments on commit f1d9d66

Please sign in to comment.