Switch to UV, publish to pypi (#1) #1
This file contains hidden or 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: codegen_api_client Build and Release | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
build-and-release: | |
environment: release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up UV | |
uses: astral-sh/setup-uv@v5 | |
with: | |
enable-cache: true | |
- name: Build | |
run: | | |
uv build | |
- name: Publish | |
run: | | |
uv publish |