Skip to content

Commit 097861c

Browse files
authored
Merge pull request #17 from kage08/main
Added colab notebooks and Github action to generate wheels
2 parents cca894f + 7ee9311 commit 097861c

9 files changed

Lines changed: 3790 additions & 59 deletions

File tree

.github/workflows/release.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Build and Release Wheel
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*.*.*"
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
16+
- name: Install uv
17+
uses: astral-sh/setup-uv@v5
18+
with:
19+
# Install a specific version of uv.
20+
version: "0.6.1"
21+
enable-cache: true
22+
23+
- name: "Set up Python"
24+
uses: actions/setup-python@v5
25+
with:
26+
python-version-file: "pyproject.toml"
27+
28+
- name: Install dependencies
29+
run: uv sync --all-extras --dev
30+
31+
- name: Build wheel
32+
run: uv build --wheel
33+
34+
- name: Upload wheel to release
35+
uses: ncipollo/release-action@v1
36+
with:
37+
artifacts: dist/*.whl
38+
token: ${{ secrets.GITHUB_TOKEN }}
39+
tag: ${{ github.ref }}
40+
name: Release ${{ github.ref }}
41+
body: |
42+
This is an automated release of the wheel.

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.12
1+
3.11

example/colab/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)