From 0004e519756a54a9977e9b8b5e3fbb97e668ae28 Mon Sep 17 00:00:00 2001 From: "C. Titus Brown" Date: Mon, 23 Sep 2024 13:52:54 -0700 Subject: [PATCH] MRG: add 'environment' and 'permissions' to release CI (#59) * add 'environment' and 'permissions' to release CI * upd to rc3 --- .github/workflows/CI.yml | 5 +++++ Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 4f1a35f..65d5993 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -157,6 +157,11 @@ jobs: runs-on: ubuntu-latest if: "startsWith(github.ref, 'refs/tags/v')" needs: [linux, musllinux, windows, macos, sdist] + # Specifying a GitHub environment is optional, but strongly encouraged + environment: release + permissions: + # IMPORTANT: this permission is mandatory for trusted publishing + id-token: write steps: - uses: actions/download-artifact@v4 - name: Publish to PyPI diff --git a/Cargo.lock b/Cargo.lock index 7849813..f0c2907 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -746,7 +746,7 @@ dependencies = [ [[package]] name = "oxli" -version = "0.3.0-rc2" +version = "0.3.0-rc3" dependencies = [ "anyhow", "env_logger", diff --git a/Cargo.toml b/Cargo.toml index 7f7ec22..f34008e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxli" -version = "0.3.0-rc2" +version = "0.3.0-rc3" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html