summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilfred Hughes <me@wilfred.me.uk>2022-04-10 13:07:03 -0700
committerWilfred Hughes <me@wilfred.me.uk>2022-04-10 13:07:03 -0700
commit43c50ae1bbcfdb34d1d146425897efbe24331bfc (patch)
tree5a278d0674481a8ce41454d297fc412469f9e250
parenta43adb2f4b444daba4ef2d77aeb62aa63702b772 (diff)
Publish to crates.io from GitHub action too0.26.2
-rw-r--r--.github/workflows/release.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 84b58961f..66a1c2c53 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: