mirror of
https://github.com/Telecominfraproject/oopt-gnpy-api.git
synced 2025-10-28 16:52:19 +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:
|
||||
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
|
||||
|
||||
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user