-
Notifications
You must be signed in to change notification settings - Fork 5
42 lines (37 loc) · 900 Bytes
/
release-dev.yml
File metadata and controls
42 lines (37 loc) · 900 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
34
35
36
37
38
39
40
41
42
name: Release Dev
on:
push:
branches:
- main
jobs:
release:
name: Release
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/human-readable
permissions:
id-token: write
steps:
- name: Check out the repository
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.13"
- name: Install UV
uses: astral-sh/setup-uv@v7
with:
version: ">=0.5.24"
- name: Install dependencies
run: |
uv sync --all-extras --frozen
- name: Build package
run: |
uv build
- name: Publish package on TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/