From e10ebcc2bdc15da33548a70f7a0ee873ae78d240 Mon Sep 17 00:00:00 2001 From: "Helmut K. C. Tessarek" Date: Sun, 1 Mar 2026 02:32:36 -0500 Subject: [PATCH] ci: add workflow to publish to crates.io (#1169) Thanks! --- .github/workflows/cd.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/cd.yml diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml new file mode 100644 index 0000000..0c979a7 --- /dev/null +++ b/.github/workflows/cd.yml @@ -0,0 +1,16 @@ +name: Continuous Deployment +on: + push: + tags: + - "v*.*.*" +jobs: + publish-crates-io: + name: Publish on crates.io + runs-on: ubuntu-latest + steps: + - name: Checkout the repository + uses: actions/checkout@v5 + - name: Install Rust toolchain + uses: dtolnay/rust-toolchain@stable + - name: Publish + run: cargo publish --token ${{ secrets.CARGO_TOKEN }}