Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,11 @@ jobs:
name: upload wheels to PyPI
runs-on: ubuntu-latest
needs: [build_wheels_linux, build_wheels_macos]
environment:
name: pypi
url: https://pypi.org/p/pymaat
permissions:
id-token: write
strategy:
matrix:
# The os names must match the ones in the build_wheels job
Expand All @@ -182,8 +187,5 @@ jobs:
path: ${{ matrix.os }}-wheels/

- name: "Upload wheels"
uses: pypa/gh-action-pypi-publish@v1.13.0
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
packages_dir: ${{ matrix.os }}-wheels/
uses: pypa/gh-action-pypi-publish@release/v1
packages-dir: ${{ matrix.os }}-wheels/
Loading