Skip to content

Hypergraph is more powerful. Transform unstructured text into structured knowledge with LLMs. Graphs, hypergraphs, and spatio-temporal extractions — with one command.

chore: 更新发布工作流,优化依赖安装和检查步骤

yifanfeng973900fb0c06a9
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 0341398..b9084d6 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -36,15 +36,15 @@ jobs:
enable-cache: true
- name: Install build dependencies
- run: uv tool install build hatchling
+ run: |
+ uv venv
+ uv pip install build hatchling twine
- name: Build package
- run: python -m build
+ run: uv run python -m build
- name: Check distribution
- run: |
- uv tool install twine
- twine check dist/*
+ run: uv run twine check dist/*
- name: Upload distribution packages
uses: actions/upload-artifact@v4