diff --git a/.github/workflows/pypi_deploy.yaml b/.github/workflows/pypi_deploy.yaml index b73a786..df09367 100644 --- a/.github/workflows/pypi_deploy.yaml +++ b/.github/workflows/pypi_deploy.yaml @@ -8,15 +8,22 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - name: Set up Python 3.9 uses: actions/setup-python@v2 with: python-version: 3.9 + - name: Install Poetry - uses: abatilo/actions-poetry@v2.1.3 + uses: abatilo/actions-poetry@v2.1.4 + with: + poetry-version: 1.2.0b1 + - 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 }}