-
-
Notifications
You must be signed in to change notification settings - Fork 41
28 lines (23 loc) · 665 Bytes
/
Copy pathpypi_deploy.yaml
File metadata and controls
28 lines (23 loc) · 665 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: PyPI deploy
on:
release:
types: [created]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- uses: actions/setup-python@v5.4.0
with:
python-version: '3.12'
- name: Install uv and set the python version
uses: astral-sh/setup-uv@v5
with:
version: 0.7.2
python-version: 3.12
- name: Install airflow-dbt-python with uv
run: uv sync --no-dev
- name: Build airflow-dbt-python with uv
run: uv build
- name: Publish airflow-dbt-python to PyPI with uv
run: uv publish --token ${{ secrets.PYPI_API_TOKEN }}