Skip to content

Change API to pass only index data corresponding to a given sheet in … #10

Change API to pass only index data corresponding to a given sheet in …

Change API to pass only index data corresponding to a given sheet in … #10

Workflow file for this run

name: Publish
on:
push:
tags:
- 'v*.*.*'
jobs:
build-and-publish:
name: Build and Publish
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
environment:
name: pypi
permissions:
id-token: write
contents: write
steps:
- name: checkout
uses: actions/checkout@v4
- name: change to ref
run: git checkout ${{ github.ref_name }}
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: uv.lock
version: ">=0.5.29"
- name: Set up Python
run: uv python install
- name: Install the project
run: uv sync --all-extras --dev
- name: Build the project
run: |
version=${{ github.ref_name }}
version=${version#v}
export SETUPTOOLS_SCM_PRETEND_VERSION=$version
uv build
- name: Publish distribution
run: uv publish
- name: Sign the dists with Sigstore
uses: sigstore/[email protected]
with:
inputs: ./dist/*.tar.gz ./dist/*.whl
- name: Create GitHub Release
env:
GITHUB_TOKEN: ${{ github.token }}
run: gh release create '${{ github.ref_name }}' --repo '${{ github.repository }}' --generate-notes --latest --verify-tag dist/**