Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions .github/workflows/release_please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,10 @@ on:
published, it will do nothing.
required: false
default: false

permissions:
contents: write
pull-requests: write

name: release-please

jobs:
release-please:
runs-on: ubuntu-latest
Expand All @@ -36,7 +33,7 @@ jobs:
with:
command: manifest
token: ${{ steps.generate_token.outputs.token }}

release-type: rust
publish-crates:
runs-on: ubuntu-latest
# run only if release-please had released a new version
Expand All @@ -46,8 +43,8 @@ jobs:
if: needs.release-please.outputs.releases_created == 'true' || github.event.inputs.force_publish == 'true'
steps:
- uses: actions/checkout@v3
- name: Install protobuf compiler
run: apt-get update && apt-get install protobuf-compiler -y
- name: Install system dependencies
run: apt-get update && apt-get install -y protobuf-compiler libsasl2-dev
- uses: actions/cache@v3
with:
path: |
Expand All @@ -61,4 +58,4 @@ jobs:
# `--no-remove-dev-deps` is a workaround for https://github.com/pksunkara/cargo-workspaces/issues/103
run: cargo workspaces publish --from-git --no-remove-dev-deps -y
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}