File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 tags :
66 - " v*.*.*"
7+ workflow_dispatch :
78
89jobs :
910 publish :
1011 runs-on : ubuntu-latest
1112 environment : pypi
1213 permissions :
13- id-token : write # Required for trusted publishing (no API key needed)
14+ contents : read
15+ id-token : write
1416
1517 steps :
1618 - uses : actions/checkout@v4
@@ -23,14 +25,19 @@ jobs:
2325 - name : Install uv
2426 uses : astral-sh/setup-uv@v3
2527
26- - name : Install dependencies
27- run : uv sync --all-extras
28+ - name : Install test and build dependencies
29+ run : uv sync --extra dev
2830
2931 - name : Run tests before publishing
3032 run : uv run pytest tests/ -q --tb=short
3133
3234 - name : Build package
3335 run : uv build
3436
37+ - name : Validate distribution metadata
38+ run : uvx twine check dist/*
39+
3540 - name : Publish to PyPI
3641 uses : pypa/gh-action-pypi-publish@release/v1
42+ with :
43+ packages-dir : dist/
Original file line number Diff line number Diff line change 11[project ]
22name = " operator-use"
3- version = " 0.2.8 "
3+ version = " 0.2.9 "
44description = " A personal assistant that operates your computer. Just like you."
55readme = " README.md"
66requires-python = " >=3.12"
You can’t perform that action at this time.
0 commit comments