Merge pull request #42 from cyb3rpsych0s1s/feat/8.13.0 #54
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
tags: | |
- "v*.*.*" | |
env: | |
CARGO_TERM_COLOR: always | |
CARGO_UNSTABLE_SPARSE_REGISTRY: true | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: ⬇️ checkout repository | |
uses: actions/checkout@v4 | |
- name: 🛠 setup cargo toolchain | |
uses: dtolnay/rust-toolchain@stable | |
- name: ♻️ cache Rust dependencies | |
uses: Swatinem/rust-cache@v2 | |
with: | |
shared-key: ubuntu-latest | |
- name: 🔖 create GitHub release | |
uses: softprops/action-gh-release@v1 | |
- name: 🦀 publish to crates.io | |
uses: katyo/publish-crates@v2 | |
with: | |
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} |