Skip to content

Fix Cargo.toml edition #2

Fix Cargo.toml edition

Fix Cargo.toml edition #2

Workflow file for this run

on:
push:
branches:
- master
paths:
- 'Rust/Cargo.toml' # The version number must be bumped in order to publish to crates.io
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
name: Publish Rust (crates.io)
jobs:
publish:
name: Publish to crates.io
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Publish to crates.io
run: cd Rust && cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}