Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish

on:
push:
tags: ["*"]

jobs:
publish:
name: Publish to crates.io
runs-on: ubuntu-latest
environment: publish
permissions:
# Required for OIDC token exchange
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Authenticate with crates.io
id: auth
uses: rust-lang/crates-io-auth-action@v1
- name: Publish to crates.io
env:
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
run: cargo publish
2 changes: 0 additions & 2 deletions release.toml

This file was deleted.

Loading