fix: blocking_take may hang on V2.0 (#4539) #1687
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
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, | |
# software distributed under the License is distributed on an | |
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
# KIND, either express or implied. See the License for the | |
# specific language governing permissions and limitations | |
# under the License. | |
name: publish-site | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Checkout lance-spark | |
uses: actions/checkout@v4 | |
with: | |
repository: lancedb/lance-spark | |
path: lance-spark | |
- name: Checkout lance-namespace | |
uses: actions/checkout@v4 | |
with: | |
repository: lancedb/lance-namespace | |
path: lance-namespace | |
- name: Checkout lance-ray | |
uses: actions/checkout@v4 | |
with: | |
repository: lancedb/lance-ray | |
path: lance-ray | |
- name: Configure Git Credentials | |
run: | | |
git config user.name github-actions[bot] | |
git config user.email 41898282+github-actions[bot]@users.noreply.github.com | |
- name: "Set up Python" | |
uses: actions/setup-python@v5 | |
with: | |
python-version-file: "docs/pyproject.toml" | |
- name: Install uv | |
uses: astral-sh/setup-uv@v6 | |
with: | |
enable-cache: true | |
- name: Copy lance-namespace docs | |
run: | | |
cp -r lance-namespace/docs/src docs/src/format/namespace | |
cat >> docs/src/format/.pages << 'EOF' | |
- Namespace Spec: namespace | |
EOF | |
cp docs/src/format/namespace/rest.yaml docs/src/rest.yaml | |
cp lance-namespace/CONTRIBUTING.md docs/src/community/contributing/namespace.md | |
# Update contributing .pages to include namespace.md in navbar | |
echo " - Namespace: namespace.md" >> docs/src/community/contributing/.pages | |
- name: Copy lance-spark docs | |
run: | | |
cp -r lance-spark/docs/src docs/src/integrations/spark | |
cat >> docs/src/integrations/.pages << 'EOF' | |
- Apache Spark: spark | |
EOF | |
cp lance-spark/CONTRIBUTING.md docs/src/community/contributing/spark.md | |
# Update contributing .pages to include spark.md in navbar | |
echo " - Apache Spark: spark.md" >> docs/src/community/contributing/.pages | |
- name: Copy lance-ray docs | |
run: | | |
cp -r lance-ray/docs/src docs/src/integrations/ray | |
cat >> docs/src/integrations/.pages << 'EOF' | |
- Ray: ray | |
EOF | |
cp lance-ray/CONTRIBUTING.md docs/src/community/contributing/ray.md | |
# Update contributing .pages to include ray.md in navbar | |
echo " - Ray: ray.md" >> docs/src/community/contributing/.pages | |
- name: Deploy | |
working-directory: docs | |
run: uv run mkdocs gh-deploy --force |