Skip to content

0.23.8

0.23.8 #82

Workflow file for this run

# yamllint disable
name: cargo-packages
on:
release:
types: [ published ]
env:
CARGO_TERM_COLOR: always
jobs:
cargo-publish:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions-rs/toolchain@v1
with:
override: true
toolchain: stable
- uses: actions/cache@v2
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- run: cargo publish -p summa-proto || cargo publish -p summa-core || cargo publish -p summa-server || /bin/true
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}