Skip to content

Commit 6ec8b04

Browse files
committed
ci: add publish job
1 parent 7aa9032 commit 6ec8b04

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/release.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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+
with:
14+
submodules: recursive
15+
- name: Install Rust toolchain
16+
uses: dtolnay/rust-toolchain@master
17+
with:
18+
toolchain: stable
19+
- name: cargo login
20+
run: cargo login ${{ secrets.CRATES_IO_API_TOKEN }}
21+
- name: Run publish
22+
working-directory: libmimalloc-sys
23+
run: cargo publish
24+
- name: Run publish
25+
run: cargo publish

0 commit comments

Comments
 (0)