-
-
Notifications
You must be signed in to change notification settings - Fork 5
33 lines (27 loc) · 671 Bytes
/
publish.yml
File metadata and controls
33 lines (27 loc) · 671 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Publish to PyPI
on:
release:
types: [published]
workflow_dispatch:
inputs:
tag:
description: "Tag to publish (e.g. v0.38.1)"
required: true
permissions:
id-token: write
jobs:
publish:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/agent-trace
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.tag || github.ref }}
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Build package
run: uv build
- name: Publish to PyPI
run: uv publish --check-url https://pypi.org/simple/agent-strace/