Skip to content

release crates

release crates #1

Workflow file for this run

# Copyright 2026 Columnar Technologies Inc.
# SPDX-License-Identifier: Apache-2.0
name: release crates
on:
push:
tags:
- '*'
workflow_dispatch:
permissions:
contents: read
jobs:
release:
name: Publish to crates.io
runs-on: ubuntu-latest
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
permissions:
# Used for OIDC trusted publishing to crates.io
id-token: write
contents: read
steps:
- uses: actions/checkout@v6
- name: Install Rust toolchain
run: rustup toolchain install stable --profile minimal
- name: Authenticate to crates.io
uses: rust-lang/crates-io-auth-action@v1
id: auth
- name: Publish
run: cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}