generate client #1
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: Release | |
on: | |
push: | |
branches: [main] | |
jobs: | |
release: | |
if: github.head_ref == 'main' | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
steps: | |
- uses: actions/[email protected] | |
- name: Install Hatchling | |
run: pip install --upgrade hatchling | |
- name: Build | |
run: hatchling build | |
- name: Push to PyPI | |
uses: pypa/[email protected] | |
with: | |
attestations: true |