Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/publish-cargo-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish Cargo Package

on:
push:
tags:
- '*'

jobs:
package:
runs-on: ubuntu-latest
name: Publish Cargo Package

steps:
- name: Cloning repo
uses: actions/checkout@v2
with:
fetch-depth: 0

- uses: actions/checkout@v2
- name: Publish
run: cargo publish --token ${{ secrets.CRATES_TOKEN }}