Skip to content

Commit 2292c4f

Browse files
committed
Add pypi.yaml
1 parent 990e6df commit 2292c4f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/pypi.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: PyPI
2+
on:
3+
push:
4+
tags:
5+
- '*'
6+
jobs:
7+
PyPIPoetryPublish:
8+
name: PyPI Poetry Publish
9+
uses: uc-cdis/.github/.github/workflows/python_package_index_publish.yaml@master
10+
with:
11+
PYTHON_VERSION: '3.9'
12+
# This will attempt push to test PyPI first and only push to prod if it works
13+
DO_TEST_PUBLISH_FIRST: true
14+
secrets:
15+
PYPI_TEST_API_TOKEN: ${{ secrets.PYPI_TEST_API_TOKEN }}
16+
PYPI_PROD_API_TOKEN: ${{ secrets.PYPI_PROD_API_TOKEN }}

0 commit comments

Comments
 (0)