Skip to content

Commit

Permalink
chore: adding Unity Catalog IO Manager CI workflow (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfvioli authored Jan 2, 2025
1 parent 0bd32f0 commit 76594ca
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Install pypa/build
run: make .venv && VIRTUAL_ENV=./.venv
- name: Build a binary wheel
run: source .venv/bin/activate && python3 -m build -w "libraries/dagster-delta" && python3 -m build -w "libraries/dagster-delta-polars"
run: source .venv/bin/activate && python3 -m build -w "libraries/dagster-delta" && python3 -m build -w "libraries/dagster-delta-polars" && python3 -m build -w "libraries/dagster-unity-catalog-polars"
- name: Store the distribution packages
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -119,3 +119,29 @@ jobs:
password: ${{ secrets.PYPI_API_TOKEN_DDP }}
verbose: true

publish-dagster-unity-catalog-polars:
name: >-
Publish Python 🐍 distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
needs:
- build
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/dagster-unity-catalog-polars

steps:
- name: Download all the dists
uses: actions/download-artifact@v3
with:
name: python-package-distributions
path: my_dists/
- name: list files
run: ls my_dists/dagster-unity-catalog-polars/dist/
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: my_dists/dagster-unity-catalog-polars/dist/
password: ${{ secrets.PYPI_API_TOKEN_DDUC }}
verbose: true

0 comments on commit 76594ca

Please sign in to comment.