Skip to content

Commit

Permalink
Introduce github workflow to publish cargo crate (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
cocuh authored Sep 24, 2024
1 parent 8bcb788 commit 8218393
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish

on:
release:
types: [published]

permissions: read-all

env:
CARGO_TERM_COLOR: always

jobs:
publish:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Publish release of assertor
env:
CARGO_REGISTRY_TOKEN: ${{secrets.CARGO_REGISTRY_TOKEN}}
run: cargo publish -p assertor

0 comments on commit 8218393

Please sign in to comment.