Skip to content

Commit cd62c14

Browse files
committed
create an action to publish new releases
1 parent 482d28a commit cd62c14

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
on:
2+
release:
3+
types: [published]
4+
5+
name: Publish binaries to release
6+
7+
jobs:
8+
publish-crates-io:
9+
name: Publish on crates.io
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions-rs/toolchain@v1
14+
with:
15+
toolchain: stable
16+
override: true
17+
- uses: katyo/publish-crates@v1
18+
with:
19+
registry-token: ${{ secrets.CRATES_TOKEN }}
20+
path: "derive"
21+
- uses: katyo/publish-crates@v1
22+
with:
23+
registry-token: ${{ secrets.CRATES_TOKEN }}

0 commit comments

Comments
 (0)