Skip to content

Commit

Permalink
Add publish Github Action
Browse files Browse the repository at this point in the history
  • Loading branch information
janos committed Jan 7, 2024
1 parent 9702dd5 commit de4ae49
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Publish

on:
push:
branches-ignore:
- "**"
tags:
- "v*.*.*"

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
override: true

- run: cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit de4ae49

Please sign in to comment.