Skip to content

Commit 48d999b

Browse files
committed
Prepare PyPI release pipeline for v0.2.9
1 parent 854689e commit 48d999b

2 files changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@ on:
44
push:
55
tags:
66
- "v*.*.*"
7+
workflow_dispatch:
78

89
jobs:
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/

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "operator-use"
3-
version = "0.2.8"
3+
version = "0.2.9"
44
description = "A personal assistant that operates your computer. Just like you."
55
readme = "README.md"
66
requires-python = ">=3.12"

0 commit comments

Comments
 (0)