Merge pull request #1127 from moonstream-to/rename-column #19
Workflow file for this run
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 moonstreamdbv3 package | |
on: | |
push: | |
tags: | |
- 'moonstreamdbv3/v*' | |
defaults: | |
run: | |
working-directory: moonstreamdb-v3 | |
jobs: | |
publish: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -e .[distribute] | |
- name: Build and publish | |
env: | |
TWINE_USERNAME: "__token__" | |
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN_MOONSTREAMDBV3 }} | |
run: | | |
python setup.py sdist bdist_wheel | |
twine upload dist/* |