Skip to content

Publish crates to crates.io #14

Publish crates to crates.io

Publish crates to crates.io #14

name: Publish crates to crates.io
permissions:
contents: read
on:
workflow_dispatch:
jobs:
publish_crates:
name: Publish crates to crates.io
strategy:
matrix:
rust: [stable]
runs-on: ubuntu-latest
steps:
- name: Install Rust ${{ matrix.rust }}
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
profile: minimal
override: true
- uses: actions/checkout@v4
- name: Publish derive crate
env:
VERBOSE: true
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: |
cd fluvio-future-derive
cargo publish
- uses: actions/checkout@v4
- name: Publish main crate
env:
VERBOSE: true
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: |
cargo publish