Skip to content

Commit

Permalink
Fix pypi publish step
Browse files Browse the repository at this point in the history
  • Loading branch information
Diviloper committed Aug 28, 2024
1 parent 1ce8ba1 commit b1d4b3f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build_pymeos_cffi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,15 @@ jobs:
upload_pypi:
name: Upload to PyPI
needs: [ test_wheels, build_sdist ]
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

if: github.repository == 'MobilityDB/PyMEOS-CFFI'
environment:
name: pypi
url: https://pypi.org/p/pymeos-cffi
permissions:
id-token: write

steps:
- name: Get artifacts
uses: actions/download-artifact@v4
Expand All @@ -287,8 +292,6 @@ jobs:

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip_existing: true

create_release:
name: Create GitHub Release
Expand Down

0 comments on commit b1d4b3f

Please sign in to comment.