From 62f187a0928709329fd4432eed5e0b6a15a964e5 Mon Sep 17 00:00:00 2001 From: Stijn de Gooijer Date: Thu, 7 Mar 2024 10:06:38 +0100 Subject: [PATCH] ci: Fix PyPI release with latest maturin --- .github/workflows/release.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f0e9b00..c59ed92 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -199,30 +199,30 @@ jobs: - name: Publish to PyPI if: inputs.dry-run == false - uses: pypa/gh-action-pypi-publish@release/v1 + uses: pypa/gh-action-pypi-publish@release/v1.8.11 with: skip-existing: true verbose: true - publish-to-crates-io: - needs: [create-sdist, build-wheels] - environment: - name: release - url: https://crates.io/crates/polars-cli - runs-on: ubuntu-latest + # publish-to-crates-io: + # needs: [create-sdist, build-wheels] + # environment: + # name: release + # url: https://crates.io/crates/polars-cli + # runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - ref: ${{ inputs.sha }} + # steps: + # - uses: actions/checkout@v4 + # with: + # ref: ${{ inputs.sha }} - - name: Publish to crates.io - env: - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} - run: cargo publish ${{ inputs.dry-run && '--dry-run' || '' }} + # - name: Publish to crates.io + # env: + # CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} + # run: cargo publish ${{ inputs.dry-run && '--dry-run' || '' }} publish-to-github: - needs: [publish-to-pypi, publish-to-crates-io, get-version] + needs: [publish-to-pypi, get-version] environment: name: release url: https://github.com/pola-rs/polars-cli/releases