From 41ca009967a5a185d2722a75840a6d3bf164fed2 Mon Sep 17 00:00:00 2001 From: Paul Hummer Date: Fri, 15 Dec 2023 21:54:04 -0700 Subject: [PATCH] chore: add release workflow --- .github/workflows/release.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..dad86a4 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,19 @@ +on: + push: + tags: + - "*" + +jobs: + publish: + name: Publish to crates.io + runs-on: ubuntu-latest + steps: + - name: Checkout sources + uses: actions/checkout@v3 + - name: Install stable toolchain + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + - run: cargo publish --token ${CRATES_IO_API_TOKEN} \ No newline at end of file