Skip to content

Commit

Permalink
Auto merge of #221 - rust-lang:add-publish-workflow, r=michaelwoerister
Browse files Browse the repository at this point in the history
Add GitHub Workflow for publishing measureme
  • Loading branch information
bors committed Jan 11, 2024
2 parents 833029a + 3df9bb3 commit ebb24d8
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Publish
on:
release:
types: [created]

jobs:
publish:
name: Publish to crates.io
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Install Rust (rustup)
run: rustup update stable && rustup default stable
- name: Publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: cargo publish -p measureme

0 comments on commit ebb24d8

Please sign in to comment.