Skip to content

Commit

Permalink
.github/workflows: add a publish crate workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
allisonkarlitskaya committed Nov 7, 2024
1 parent 1431ece commit 3cc7388
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: publish
on:
workflow_dispatch:

jobs:
publish:
runs-on: ubuntu-22.04
environment: crates.io
permissions: {}
timeout-minutes: 20
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

steps:
- name: Clone repository
uses: actions/checkout@v4

- name: Publish crate
run: cargo publish

0 comments on commit 3cc7388

Please sign in to comment.