Skip to content

Commit e71cae7

Browse files
committed
[#devel] Fix publishing
1 parent 5a78d67 commit e71cae7

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/python-publish.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@ on:
1818
types: [created]
1919

2020
jobs:
21-
deploy:
21+
pypi:
2222
name: Publish sdist to Pypi
2323
runs-on: ubuntu-latest
2424
steps:
2525
- uses: actions/checkout@v4
2626
- uses: astral-sh/setup-uv@v5
2727
with:
2828
python-version: '3.11'
29-
- run: uv build
30-
# Check that basic features work and we didn't miss to include crucial files
31-
- name: Smoke test (wheel)
32-
run: uv run --isolated --no-project -p 3.11 --with dist/*.whl datastock/tests
33-
- name: Smoke test (source distribution)
34-
run: uv run --isolated --no-project -p 3.11 --with dist/*.tar.gz datastock/tests
35-
- run: uv publish --trusted-publishing always
36-
with:
37-
user: __token__
38-
password: ${{ secrets.PYPI_API_TOKEN }}
29+
- run: uv build
30+
# Check that basic features work and we didn't miss to include crucial files
31+
- name: Smoke test (wheel)
32+
run: uv run --isolated --no-project -p 3.11 --with dist/*.whl datastock/tests
33+
- name: Smoke test (source distribution)
34+
run: uv run --isolated --no-project -p 3.11 --with dist/*.tar.gz datastock/tests
35+
- run: uv publish --trusted-publishing always
36+
with:
37+
user: __token__
38+
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)