Skip to content

chore: update tempoch-ffi to version 0.6.6 and prepare for crates.io … #6

chore: update tempoch-ffi to version 0.6.6 and prepare for crates.io …

chore: update tempoch-ffi to version 0.6.6 and prepare for crates.io … #6

Workflow file for this run

name: Publish to crates.io
on:
push:
tags:
- "v[0-9]*"
permissions:
contents: read
jobs:
publish:
name: cargo publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # full history so publish-changed.sh can resolve base tag
- uses: dtolnay/rust-toolchain@stable
# Publish changed publishable packages.
# tempoch-ffi and tempoch-time-data have publish = false and are skipped automatically.
# Pass --confirm-ffi and protect behind a manual environment for FFI releases.
- name: Publish changed packages
run: bash scripts/publish-changed.sh
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}