Skip to content

Commit

Permalink
Add release
Browse files Browse the repository at this point in the history
  • Loading branch information
ringsaturn committed Jun 23, 2023
1 parent 062ee84 commit b2c1269
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Release

on:
push:
tags:
- "*.*.*"
release:
types:
- published

env:
CARGO_TERM_COLOR: always

jobs:
publish:
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/checkout@v3
- name: Setup | Rust
uses: ATiltedTree/setup-rust@v1
with:
rust-version: nightly
- name: Cache
uses: Swatinem/rust-cache@v2
- uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit b2c1269

Please sign in to comment.