From fe784addd29328f7780f6182f13f10f1993e427d Mon Sep 17 00:00:00 2001 From: Razvan Dimescu Date: Mon, 23 Mar 2026 14:41:21 +0200 Subject: [PATCH] release: auto-publish to crates.io on tag push Co-Authored-By: Claude Opus 4.6 --- .github/workflows/release.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c694bc0..057a8d0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -79,8 +79,21 @@ jobs: ${{ matrix.name }}.zip ${{ matrix.name }}.zip.sha256 + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Install Rust + uses: dtolnay/rust-toolchain@stable + + - name: Publish to crates.io + run: cargo publish + env: + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} + release: - needs: build + needs: [build, publish] runs-on: ubuntu-latest steps: - uses: actions/download-artifact@v4