Skip to content

Merge pull request #878 from jdebacker/fix_taxfunc_indexing #34

Merge pull request #878 from jdebacker/fix_taxfunc_indexing

Merge pull request #878 from jdebacker/fix_taxfunc_indexing #34

name: Publish package to PyPI
on:
push:
branches:
- master
jobs:
deploy:
name: Publish to PyPI
if: github.repository == 'PSLmodels/OG-Core'
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Build package
run: make pip-package
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI }}
skip_existing: true