v2.0.1 #41
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: PyPI deploy | |
on: | |
release: | |
types: [created] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- name: Install Poetry | |
uses: abatilo/[email protected] | |
with: | |
poetry-version: 1.3.2 | |
- name: Install airflow-dbt-python with Poetry | |
run: poetry install | |
- name: Build airflow-dbt-python with Poetry | |
run: poetry build | |
- name: Publish airflow-dbt-python to PyPI with Poetry | |
run: poetry publish --username __token__ --password ${{ secrets.PYPI_API_TOKEN }} |