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 24, 2023
1 parent fe06f25 commit b472c0a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 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
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ API changes
-----------


1.8.1 (2023-12-24)
==================

- New release to fix upload to PyPI from GitHub Actions.


1.8 (2023-12-23)
================

Expand Down

0 comments on commit b472c0a

Please sign in to comment.