Skip to content

Commit

Permalink
MRG: add 'environment' and 'permissions' to release CI (#59)
Browse files Browse the repository at this point in the history
* add 'environment' and 'permissions' to release CI

* upd to rc3
  • Loading branch information
ctb authored Sep 23, 2024
1 parent 38d4b04 commit 0004e51
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 0004e51

Please sign in to comment.