Skip to content

Commit

Permalink
Automate push to pypi
Browse files Browse the repository at this point in the history
Fixes #30
  • Loading branch information
gordonwatts committed Oct 21, 2020
1 parent 0b96379 commit a9ef22f
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Push to PyPI

on:
release:
types: [released, prereleased]

jobs:
publish:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip build
- name: Build the dataframe_expressions wheel
env:
dataframe_expressions_version: ${{ github.ref }}
run: |
python -m build --sdist --wheel
- name: Publish dataframe_expressions to PyPI
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.pypi_password_dataframe_expressions }}

0 comments on commit a9ef22f

Please sign in to comment.