fix dataset list key error (#279) #296
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: Release Python Package | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- "pyproject.toml" | |
jobs: | |
upload_package: | |
name: Upload package to PyPi | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
- name: Install dependencies | |
env: | |
PYTHON_KEYRING_BACKEND: keyring.backends.null.Keyring | |
run: | | |
pip install twine poetry==1.2.2 | |
poetry install | |
- name: Create source distribution | |
run: poetry build | |
- name: Upload to PyPi | |
env: | |
TWINE_USERNAME: __token__ | |
TWINE_PASSWORD: ${{ secrets.PYPI_COHERE_API_KEY_RISK_653 }} | |
run: | | |
twine upload --repository pypi dist/* |