Skip to content

Commit 1412595

Browse files
committed
ci: add publish job
1 parent 3279663 commit 1412595

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/release.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- v*
7+
8+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Install Rust toolchain
14+
uses: dtolnay/rust-toolchain@master
15+
with:
16+
toolchain: stable
17+
- name: cargo login
18+
run: cargo login ${{ secrets.CRATES_IO_API_TOKEN }}
19+
- name: Run publish
20+
working-directory: libmimalloc-sys
21+
run: cargo publish
22+
- name: Run publish
23+
run: cargo publish

0 commit comments

Comments
 (0)