Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(HP-1930) add pypi.yaml #20

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 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
16 changes: 16 additions & 0 deletions .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: PyPI
on:
push:
tags:
- '*'
jobs:
PyPIPoetryPublish:
name: PyPI Poetry Publish
uses: uc-cdis/.github/.github/workflows/python_package_index_publish.yaml@master
with:
PYTHON_VERSION: '3.9'
# This will attempt push to test PyPI first and only push to prod if it works
DO_TEST_PUBLISH_FIRST: true
secrets:
PYPI_TEST_API_TOKEN: ${{ secrets.PYPI_TEST_API_TOKEN }}
PYPI_PROD_API_TOKEN: ${{ secrets.PYPI_PROD_API_TOKEN }}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "heal"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
name = "heal"
name = "heal-sdk"

i think we should rename this so when publishing, the package name would be heal-sdk

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent! Thank you for catching that!

version = "0.1.2"
version = "0.1.3"
description = "HEAL Platform SDK"
authors = ["Center for Translational Data Science at the University of Chicago <[email protected]>"]
license = "Apache-2.0"
Expand Down