Skip to content

Commit 3df9bb3

Browse files
authored
Add GitHub Workflow for publishing measureme
1 parent 833029a commit 3df9bb3

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/publish.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Publish
2+
on:
3+
release:
4+
types: [created]
5+
6+
jobs:
7+
publish:
8+
name: Publish to crates.io
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@master
12+
- name: Install Rust (rustup)
13+
run: rustup update stable && rustup default stable
14+
- name: Publish
15+
env:
16+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
17+
run: cargo publish -p measureme

0 commit comments

Comments
 (0)