mirror of
https://github.com/Telecominfraproject/oopt-gnpy-api.git
synced 2025-10-29 01:02:18 +00:00
Fixing PyPi publishing in main.yml
Change-Id: Iaef853a09755f41d875a3a426fe4d303baa2be73
This commit is contained in:
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
@@ -55,8 +55,8 @@ jobs:
|
|||||||
|
|
||||||
release-build:
|
release-build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
needs: build
|
||||||
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository_owner == 'Telecominfraproject' }}
|
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository_owner == 'Telecominfraproject' }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
@@ -75,11 +75,10 @@ jobs:
|
|||||||
name: release-dists
|
name: release-dists
|
||||||
path: dist/
|
path: dist/
|
||||||
|
|
||||||
pypi-publish:
|
pypi-publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs:
|
needs:
|
||||||
- release-build
|
- release-build
|
||||||
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository_owner == 'Telecominfraproject' }}
|
|
||||||
permissions:
|
permissions:
|
||||||
id-token: write
|
id-token: write
|
||||||
|
|
||||||
@@ -91,7 +90,7 @@ jobs:
|
|||||||
path: dist/
|
path: dist/
|
||||||
|
|
||||||
- name: Publish release distributions to PyPI
|
- name: Publish release distributions to PyPI
|
||||||
uses: pypa/gh-action-pypi-publish@3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
|
|
||||||
other-platforms:
|
other-platforms:
|
||||||
name: Tests on other platforms
|
name: Tests on other platforms
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = gnpyapi
|
name = gnpy-api
|
||||||
description-file = README.md
|
description-file = README.md
|
||||||
description-content-type = text/markdown; variant=GFM
|
description-content-type = text/markdown; variant=GFM
|
||||||
author = Telecom Infra Project
|
author = Telecom Infra Project
|
||||||
author-email = tbd
|
author-email = adamico@nec-labs.com
|
||||||
license = BSD-3-Clause
|
license = BSD-3-Clause
|
||||||
home-page = https://github.com/Telecominfraproject/oopt-gnpy-api
|
home-page = https://github.com/Telecominfraproject/oopt-gnpy-api
|
||||||
project_urls =
|
project_urls =
|
||||||
|
|||||||
Reference in New Issue
Block a user