feat: add with_roles
to Client
, Query
, Insert{er}
#29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | ||
Check failure on line 1 in .github/workflows/publish.yml
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
dry-run: | ||
description: 'Dry run (do not publish to crates.io)' | ||
required: true | ||
default: 'true' | ||
level: | ||
description: 'Release level' | ||
required: true | ||
default: 'patch' | ||
type: choice | ||
options: | ||
- patch | ||
- minor | ||
- major | ||
env: | ||
CARGO_TERM_COLOR: always | ||
RUSTFLAGS: -Dwarnings | ||
RUSTDOCFLAGS: -Dwarnings | ||
RUST_BACKTRACE: 1 | ||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
permissions: write-all | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- run: rustup show active-toolchain -v | ||
- name: Install cargo-release | ||
run: cargo install cargo-release | ||
- name: Release | ||
run: | | ||
cargo release ${{ github.event.inputs.level }} ${{ | ||
if eq(github.event.inputs.dry-run, 'false') | ||
then '--execute' | ||
else '' | ||
end | ||
}} |