From 43c50ae1bbcfdb34d1d146425897efbe24331bfc Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Sun, 10 Apr 2022 13:07:03 -0700 Subject: [PATCH] Publish to crates.io from GitHub action too --- .github/workflows/release.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 84b58961f3..66a1c2c533 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,18 @@ on: - "[0-9]+.*" jobs: + push_crates_io: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + - uses: katyo/publish-crates@v1 + with: + registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} + create-release: runs-on: ubuntu-latest steps: