Skip to content

Commit 2c734ab

Browse files
author
Mathias BIGAIGNON
committed
Fix publishing CI
1 parent 51fd38a commit 2c734ab

File tree

2 files changed

+10
-20
lines changed

2 files changed

+10
-20
lines changed

.github/workflows/publish-to-pypi.yml

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,19 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version: [3.12]
17-
poetry-version: [1.8.3]
1816
os: [ubuntu-latest]
1917
runs-on: ${{ matrix.os }}
2018
environment: release
2119
permissions:
2220
id-token: write
2321
steps:
24-
- uses: actions/checkout@v4
25-
- name: Set up Python
26-
uses: actions/setup-python@v3
27-
with:
28-
python-version: ${{ matrix.python-version }}
29-
- name: Setup poetry
30-
uses: abatilo/[email protected]
31-
with:
32-
poetry-version: ${{ matrix.poetry-version }}
33-
- name: Building package distribution
34-
run: |
35-
poetry version ${{ github.ref_name }}
36-
poetry build
37-
- name: Publish to PyPI
38-
uses: pypa/gh-action-pypi-publish@release/v1
22+
- uses: actions/checkout@v4
23+
- name: Install uv
24+
uses: astral-sh/setup-uv@v5
25+
with:
26+
version: "0.6.11"
27+
python-version-file: "pyproject.toml"
28+
- name: Building package distribution
29+
run: uv build
30+
- name: Publish to PyPI
31+
uses: pypa/gh-action-pypi-publish@release/v1

.github/workflows/testing-and-quality.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version: [3.12]
1716
os: [ubuntu-latest]
1817
runs-on: ${{ matrix.os }}
1918
steps:
@@ -37,8 +36,6 @@ jobs:
3736
strategy:
3837
fail-fast: false
3938
matrix:
40-
python-version: [3.12]
41-
poetry-version: [1.8.3]
4239
os: [ubuntu-latest]
4340
runs-on: ${{ matrix.os }}
4441
steps:

0 commit comments

Comments
 (0)