Skip to content

Commit f2faf90

Browse files
authored
v1.2.0
version 1.2.0
2 parents b3ea1b1 + d430de3 commit f2faf90

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/pypi.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ jobs:
88
name: Build and publish package to PyPI
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
11+
- name: Check out repository code
12+
uses: actions/checkout@v4
13+
1214
- name: Set up Python
13-
uses: actions/setup-python@v1
15+
uses: astral-sh/setup-uv@v5
1416
with:
15-
python-version: "3.9"
16-
- name: Install poetry
17-
run: |
18-
curl -fsS -o get-poetry.py https://install.python-poetry.org
19-
python get-poetry.py -y
17+
enable-cache: true
18+
python-version: "3.11"
19+
20+
- name: Build
21+
run: uv build
22+
2023
- name: Publish
2124
env:
2225
PYPI_TOKEN: ${{ secrets.pypi_password }}
23-
run: |
24-
$HOME/.local/bin/poetry config pypi-token.pypi $PYPI_TOKEN
25-
$HOME/.local/bin/poetry build -f sdist
26-
$HOME/.local/bin/poetry publish
26+
run: uv publish --token $PYPI_TOKEN

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "pyobs-sbig"
3-
version = "1.1.0"
3+
version = "1.2.0"
44
description = "pyobs module for SBIG cameras"
55
authors = [{ name = "Tim-Oliver Husser", email = "[email protected]" }]
66
requires-python = ">=3.11"

0 commit comments

Comments
 (0)