Skip to content

fix!: migrate examples and tests to connector-based tool naming (#51) #10

fix!: migrate examples and tests to connector-based tool naming (#51)

fix!: migrate examples and tests to connector-based tool naming (#51) #10

Workflow file for this run

name: Release Please
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@e4dc86ba9405554aeba3c6bb2d169500e7d3b4ee # v4.1.1
id: release
with:
config-file: .release-please-config.json
manifest-file: .release-please-manifest.json
# Only release to PyPI when a new release is created
- name: Checkout repository
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
if: ${{ steps.release.outputs.release_created }}
- name: Setup Nix
if: ${{ steps.release.outputs.release_created }}
uses: ./.github/actions/setup-nix
- name: Update version in __init__.py
if: ${{ steps.release.outputs.release_created }}
run: nix develop --command just update-version
- name: Build and publish package
if: ${{ steps.release.outputs.release_created }}
env:
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
run: |
nix develop --command just build
nix develop --command just publish