Skip to content

Commit ae97107

Browse files
committed
chore: Update release workflow
1 parent eb7b4ec commit ae97107

File tree

2 files changed

+26
-22
lines changed

2 files changed

+26
-22
lines changed

.github/workflows/release.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: publish to crates.io
2+
3+
on:
4+
push:
5+
tags:
6+
- '0.*'
7+
8+
env:
9+
CARGO_TERM_COLOR: always
10+
11+
jobs:
12+
build:
13+
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Docs
19+
run: cargo doc
20+
- uses: actions-rs/toolchain@v1
21+
with:
22+
toolchain: stable
23+
override: true
24+
- uses: katyo/publish-crates@v1
25+
with:
26+
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

.github/workflows/rust.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)