chore: prepare bindings v3 (#332) #11
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
name: Publish Desmos bindings | |
on: | |
push: | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+' | |
jobs: | |
publish: | |
name: Publish Desmos bindings on crates.io | |
runs-on: ubuntu-latest | |
timeout-minutes: 12 | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v2 | |
- name: Setup Rust ⚙ | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: 1.71.1 | |
override: true | |
components: rustfmt, clippy | |
- name: Publish desmos-mock to crates.io 📤 | |
uses: katyo/publish-crates@v2 | |
with: | |
args: --package desmos-mock | |
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} | |
- name: Publish desmos-std-derive to crates.io 📤 | |
uses: katyo/publish-crates@v2 | |
with: | |
args: --package desmos-std-derive | |
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} | |
- name: Publish desmos-bindings to crates.io 📤 | |
uses: katyo/publish-crates@v2 | |
with: | |
args: --package desmos-bindings | |
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} |