Added release ci file (#19)

This commit is contained in:
Daniel Sanchez 2022-11-22 16:53:06 +01:00 committed by GitHub
parent 3edf9d5d0c
commit 56759d2320
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 0 deletions

18
.github/workflows/release.yml vendored Normal file
View File

@ -0,0 +1,18 @@
on:
push:
tags:
- v*.*.*
name: CI
jobs:
release:
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: katyo/publish-crates@v1
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}