diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b11bc21..423e772 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -55,8 +55,8 @@ jobs: release-build: runs-on: ubuntu-latest + needs: build if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository_owner == 'Telecominfraproject' }} - steps: - uses: actions/checkout@v4 @@ -75,11 +75,10 @@ jobs: name: release-dists path: dist/ - pypi-publish: + pypi-publish: runs-on: ubuntu-latest needs: - release-build - if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository_owner == 'Telecominfraproject' }} permissions: id-token: write @@ -91,7 +90,7 @@ jobs: path: dist/ - name: Publish release distributions to PyPI - uses: pypa/gh-action-pypi-publish@3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f + uses: pypa/gh-action-pypi-publish@release/v1 other-platforms: name: Tests on other platforms diff --git a/setup.cfg b/setup.cfg index d37214b..199ee7b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,9 +1,9 @@ [metadata] -name = gnpyapi +name = gnpy-api description-file = README.md description-content-type = text/markdown; variant=GFM author = Telecom Infra Project -author-email = tbd +author-email = adamico@nec-labs.com license = BSD-3-Clause home-page = https://github.com/Telecominfraproject/oopt-gnpy-api project_urls =