Skip to content

Commit 3d0b589

Browse files
committed
fix: workflow
1 parent dd521f3 commit 3d0b589

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/publish.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,20 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v4
19+
with:
20+
submodules: recursive # Initializes and fetches submodules
21+
fetch-depth: 0 # Needed for submodule hashes
1922

2023
- uses: actions/setup-python@v5
2124
with:
2225
python-version: "3.12"
23-
submodules: recursive # Initializes and fetches submodules
24-
fetch-depth: 0 # Needed for submodule hashes
2526

2627
- name: Install the liburing
2728
run: |
2829
cd libs
2930
./configure
3031
make
32+
sudo make install
3133
3234
- name: Install the latest version of uv
3335
uses: astral-sh/setup-uv@v5
@@ -36,11 +38,12 @@ jobs:
3638
enable-cache: true
3739

3840
- name: Build release distributions
39-
run: uv build -v --no-binary
40-
41+
run: |
42+
uv sync --group dev
43+
uv build -v --sdist
4144
- name: Upload distributions
4245
env:
4346
TWINE_USERNAME: __token__
4447
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }} #
4548
run: |
46-
python3 -m twine upload --repository testpypi dist/*
49+
uv run twine upload --verbose --repository testpypi dist/*

0 commit comments

Comments
 (0)