add notebook example #165
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python | |
# https://raw.githubusercontent.com/messense/crfs-rs/main/.github/workflows/Python.yml | |
on: | |
push: | |
paths: | |
- python/** | |
- server/** | |
- .github/workflows/python.yaml | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Copy readme | |
run: cp README.md python/README.md | |
- name: Build and publish to pypi | |
uses: JRubics/[email protected] | |
with: | |
pypi_token: ${{ secrets.PYPI_TOKEN }} | |
package_directory: "python" |