Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e8ac92a

Browse files
Test Userclaude
andcommitted
ci: add PyPI publish workflow, bump version to 1.2.0
PyPI publishes automatically on GitHub release creation (not just tags). Uses Trusted Publisher (OIDC) — no PyPI token secret needed. Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 parent fd5a1ff commit e8ac92a

2 files changed

Lines changed: 32 additions & 1 deletion

File tree

.github/workflows/pypi-publish.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Publish to PyPI
2+
3+
on:
4+
release:
5+
types: [published]
6+
workflow_dispatch:
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
environment: pypi
12+
permissions:
13+
id-token: write
14+
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
19+
- name: Set up Python
20+
uses: actions/setup-python@v5
21+
with:
22+
python-version: '3.12'
23+
24+
- name: Install build deps
25+
run: pip install build
26+
27+
- name: Build
28+
run: python -m build
29+
30+
- name: Publish to PyPI
31+
uses: pypa/gh-action-pypi-publish@release/v1

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "argus"
7-
version = "1.0.0"
7+
version = "1.2.0"
88
description = "Search broker with content extraction and multi-turn sessions — routes queries across multiple providers with fallback, ranking, health tracking, and budget enforcement"
99
readme = "README.md"
1010
license = {text = "MIT"}

0 commit comments

Comments
 (0)