diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e3d4919..d1deddb 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -14,9 +14,6 @@ on: - cron: "33 5 * * *" workflow_dispatch: -permissions: - contents: write - jobs: pre-commit: runs-on: ubuntu-latest @@ -193,21 +190,25 @@ jobs: path: dist release: - name: Release + needs: [manylinux, musllinux, windows, macos] runs-on: ubuntu-latest if: "startsWith(github.ref, 'refs/tags/')" - needs: [manylinux, musllinux, windows, macos] + environment: + name: PyPI + url: https://pypi.org/p/rpds-py + permissions: + contents: write + id-token: write + steps: - uses: actions/download-artifact@v3 with: name: wheels - name: Publish to PyPI uses: PyO3/maturin-action@v1 - env: - MATURIN_PYPI_TOKEN: ${{ secrets.pypi_password }} with: command: upload - args: --skip-existing * + args: --non-interactive --skip-existing * - name: Create a GitHub Release if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') uses: softprops/action-gh-release@v1 diff --git a/Cargo.lock b/Cargo.lock index d5e1c9c..1893ac2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -187,7 +187,7 @@ dependencies = [ [[package]] name = "rpds-py" -version = "0.10.5" +version = "0.10.6" dependencies = [ "archery", "pyo3", diff --git a/Cargo.toml b/Cargo.toml index 2b27143..9e8636c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rpds-py" -version = "0.10.5" +version = "0.10.6" edition = "2021" [lib]