diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 0f3db95..c2b9400 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -107,14 +107,15 @@ jobs: if: "startsWith(github.ref, 'refs/tags/')" needs: [linux, windows, macos, sdist] + environment: release + permissions: + id-token: write steps: - uses: actions/download-artifact@v4 with: name: wheels - name: Publish to PyPI uses: PyO3/maturin-action@v1 - env: - MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} with: command: upload args: --non-interactive --skip-existing * diff --git a/Cargo.lock b/Cargo.lock index 724a23e..6cc6c6a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -746,7 +746,7 @@ dependencies = [ [[package]] name = "oxli" -version = "0.2.3" +version = "0.3.0-rc1" dependencies = [ "anyhow", "env_logger", diff --git a/Cargo.toml b/Cargo.toml index 326db1a..47b3909 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxli" -version = "0.2.3" +version = "0.3.0-rc1" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html