Skip to content

chore: Release cerbos version 0.4.5 #8

chore: Release cerbos version 0.4.5

chore: Release cerbos version 0.4.5 #8

Workflow file for this run

---
on:
workflow_dispatch:
push:
tags:
- v*
name: Release
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install Protoc
uses: arduino/setup-protoc@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Cache artefacts
uses: Swatinem/rust-cache@v2
- name: Run cargo check
uses: actions-rs/cargo@v1
with:
command: check
- name: Publish
uses: actions-rs/cargo@v1
with:
command: publish
env:
CARGO_REGISTRY_TOKEN: "${{ secrets.CARGO_REGISTRY_TOKEN }}"