Skip to content

Commit 31489c7

Browse files
committed
get rid of dry run
1 parent d190c1a commit 31489c7

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

.github/workflows/maturin_upload_pypi.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,7 @@ jobs:
339339
release:
340340
name: Release
341341
runs-on: ubuntu-latest
342+
if: ${{ startsWith(github.ref, 'refs/tags/') }}
342343
needs: [linux, musllinux, windows, windows_arm, macos, sdist, check_clippy_python_bindings]
343344
permissions:
344345
# Use to sign the release artifacts
@@ -350,17 +351,12 @@ jobs:
350351
steps:
351352
- uses: actions/download-artifact@v6
352353
- name: Generate artifact attestation
353-
if: ${{ startsWith(github.ref, 'refs/tags/') }}
354354
uses: actions/attest-build-provenance@v3
355355
with:
356356
subject-path: 'wheels-*/*'
357357
- name: Install uv
358358
uses: astral-sh/setup-uv@v7
359-
- name: Publish to PyPI (dry-run)
360-
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
361-
run: uv publish 'wheels-*/*' --dry-run
362359
- name: Publish to PyPI
363-
if: ${{ startsWith(github.ref, 'refs/tags/') }}
364360
run: uv publish 'wheels-*/*'
365361
env:
366362
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)