Generate package-scoped import paths for response_helpers (#543)
#102
Workflow file for this run
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
| on: | |
| push: | |
| tags: | |
| - v* | |
| permissions: | |
| contents: write | |
| name: make-release | |
| jobs: | |
| makerelease: | |
| name: make-release | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.x' | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| with: | |
| version: "latest" | |
| enable-cache: true | |
| cache-dependency-glob: "uv.lock" | |
| - name: Do the release | |
| shell: bash | |
| run: | | |
| uv build | |
| uv publish \ | |
| --username ${{secrets.PYPI_USERNAME}} \ | |
| --password ${{secrets.PYPI_SECRET}} | |
| # TODO: generate a nice little doc for the release text like we do for the | |
| # cli repo. | |
| - name: Create a Release | |
| uses: softprops/action-gh-release@v2 |