Skip to content

Commit fdb6499

Browse files
修复工作流
1 parent 4818408 commit fdb6499

3 files changed

Lines changed: 26 additions & 12 deletions

File tree

.github/workflows/publish.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,23 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v4
1818

19-
- uses: actions/setup-python@v5
19+
- name: Install uv
20+
uses: astral-sh/setup-uv@v4
2021
with:
21-
python-version: "3.10"
22-
23-
- name: Install Poetry
24-
run: |
25-
curl -sSL https://install.python-poetry.org | python3 -
26-
export PATH="$HOME/.local/bin:$PATH"
22+
enable-cache: true
2723

28-
- name: Rebuild poetry.lock
29-
run: |
30-
poetry lock --no-update
24+
- name: Set up Python
25+
uses: actions/setup-python@v5
26+
with:
27+
python-version: "3.10"
3128

3229
- name: Install dependencies
3330
run: |
34-
poetry install
31+
uv sync
3532
3633
- name: Build release distributions
3734
run: |
38-
poetry build
35+
uv build
3936
4037
- name: Upload release distributions
4138
uses: actions/upload-artifact@v4

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,3 +205,6 @@ cython_debug/
205205
marimo/_static/
206206
marimo/_lsp/
207207
__marimo__/
208+
209+
.idea/
210+
.uv.lock

.vscode/settings.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"yaml.schemas": {
3+
"https://squidfunk.github.io/mkdocs-material/schema.json": "mkdocs.yml"
4+
},
5+
"yaml.customTags": [
6+
"!ENV scalar",
7+
"!ENV sequence",
8+
"!relative scalar",
9+
"tag:yaml.org,2002:python/name:material.extensions.emoji.to_svg",
10+
"tag:yaml.org,2002:python/name:material.extensions.emoji.twemoji",
11+
"tag:yaml.org,2002:python/name:pymdownx.superfences.fence_code_format",
12+
"tag:yaml.org,2002:python/object/apply:pymdownx.slugs.slugify mapping"
13+
]
14+
}

0 commit comments

Comments
 (0)